Answers for "check if a string contains whitespaces php"

PHP
0

check if string contains only whitespace php

ctype_space("  ") //returns true

ctype_space("   a   ") //returns false
Posted by: Guest on July-03-2020

Code answers related to "check if a string contains whitespaces php"

Browse Popular Code Answers by Language