DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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 www.delftstack.com #
PREVIOUS
NEXT
Tagged:
#php
#remove
#whitespace
#string
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit