note 39867 added to function.str-replace
| From: | OlegMarchuk | Date: | Fri, 13 Feb 2004 14:43:51 +0000 |
| Subject: | note 39867 added to function.str-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65095@lists.php.net to get a copy of this message | ||
You can replace html special char "&nspb;" (ACSII code 160) using this:
<?php
$str = str_replace(chr(160), '', $str]);
?>
----
Manual Page -- http://www.php.net/manual/en/function.str-replace.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39867
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39867&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39867&report=yes
Search -- http://master.php.net/manage/user-notes.php