note 86036 added to function.trim
| From: | emanuil dot tolev at gmail dot com | Date: | Tue, 30 Sep 2008 14:55:16 +0000 |
| Subject: | note 86036 added to function.trim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144904@lists.php.net to get a copy of this message | ||
Alright...
$string = 'Hello World';
$string1 = trim($string, "o");
echo $string1;
Output: Hello World
Either I'm REALLY stupid, or am not doing something correctly (how the F can the above
simplicity be wrong?) or something's wrong with my php installation.
----
Server IP: 217.75.128.29
Probable Submitter: 194.88.250.22
----
Manual Page -- http://www.php.net/manual/en/function.trim.php
Edit -- https://master.php.net/note/edit/86036
Del: integrated -- https://master.php.net/note/delete/86036/integrated
Del: useless -- https://master.php.net/note/delete/86036/useless
Del: bad code -- https://master.php.net/note/delete/86036/bad+code
Del: spam -- https://master.php.net/note/delete/86036/spam
Del: non-english -- https://master.php.net/note/delete/86036/non-english
Del: in docs -- https://master.php.net/note/delete/86036/in+docs
Del: other reasons-- https://master.php.net/note/delete/86036
Reject -- https://master.php.net/note/reject/86036
Search -- https://master.php.net/manage/user-notes.php