Answers for "given a string s check if the given string contains any white space or not 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 "given a string s check if the given string contains any white space or not php"

Browse Popular Code Answers by Language