Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php remove all whitespace from a string

//remove all white spaces from a string
$whatonearth=preg_replace('/s/','',"what o n   ear th");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #remove #whitespace #string
ADD COMMENT
Topic
Name
1+3 =