Answers for "how to check string contains whitespace 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 "how to check string contains whitespace php"

Browse Popular Code Answers by Language