Add checking space string
Add documentation comment about space string checking