How to check for whitespaces in CSV file ?
- by Rachel
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 ?