Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php remove nbsp from string

$string = htmlentities($content, null, 'utf-8');
$content = str_replace(" ", "", $string);
$content = html_entity_decode($content);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #remove #nbsp #string
ADD COMMENT
Topic
Name
3+7 =