How to check for whitespaces in CSV file ?

Posted by Rachel on Stack Overflow See other posts from Stack Overflow or by Rachel
Published on 2010-03-16T14:14:09Z Indexed on 2010/03/16 14:16 UTC
Read the original article Hit count: 219

Filed under:
|
|

Currently I am using ctype_alnum to check for alphanumeric type in csv file. But one of my data has white spaces between them and so ctype_alnum gives me false.

Example: ctype_alnum("Here is 23"); 

So my question is how can I check for white spaces in string in php ?

© Stack Overflow or respective owner

Related posts about php

Related posts about csv