How would I go about detecting whitespace within a string? For example, I have a name string like:
\"Jane Doe\"
Keep in mind that I don\'t want to trim or re
Wouldn't preg_match("/\s/",$string) work? The advantage to this over strpos is that it will detect any whitespace, not just spaces.