note 108857 added to function.trim
| From: | albertdiones at gmail dot com | Date: | Wed, 30 May 2012 21:05:12 +0000 |
| Subject: | note 108857 added to function.trim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188304@lists.php.net to get a copy of this message | ||
When trimming
use this:
trim(html_entity_decode($string)," \t\n\r\0\x0B\xA0")
----
Server IP: 211.234.110.150
Probable Submitter: 124.107.191.62
----
Manual Page -- http://www.php.net/manual/en/function.trim.php
Edit -- https://master.php.net/note/edit/108857
Del: integrated -- https://master.php.net/note/delete/108857/integrated
Del: useless -- https://master.php.net/note/delete/108857/useless
Del: bad code -- https://master.php.net/note/delete/108857/bad+code
Del: spam -- https://master.php.net/note/delete/108857/spam
Del: non-english -- https://master.php.net/note/delete/108857/non-english
Del: in docs -- https://master.php.net/note/delete/108857/in+docs
Del: other reasons-- https://master.php.net/note/delete/108857
Reject -- https://master.php.net/note/reject/108857
Search -- https://master.php.net/manage/user-notes.php