Answers for "check string with whitespaces only 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 string with whitespaces only php"

Browse Popular Code Answers by Language