Check if string is just white space?

Posted by John Isaacks on Stack Overflow See other posts from Stack Overflow or by John Isaacks
Published on 2010-06-07T19:06:13Z Indexed on 2010/06/07 19:42 UTC
Read the original article Hit count: 215

Filed under:

I do not want to change a string nor do I want to check if it contains white space. I want to check if the entire string is ONLY white space. What the best way to do that?

© Stack Overflow or respective owner

Related posts about php