note 69858 added to function.trim
| From: | mail at timqui dot net | Date: | Sat, 23 Sep 2006 21:26:25 +0000 |
| Subject: | note 69858 added to function.trim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117476@lists.php.net to get a copy of this message | ||
function trim_in($string){
$string = trim($string);
$string = str_replace(chr(9),"",$string);
$string = str_replace(chr(10),"",$string);
$string = str_replace(chr(13),"",$string);
$string = str_replace(chr(0),"",$string);
$string = str_replace(chr(11),"",$string);
return $string;
}
----
Server IP: 147.32.160.17
Probable Submitter: 62.24.79.55
----
Manual Page -- http://www.php.net/manual/en/function.trim.php
Edit -- https://master.php.net/note/edit/69858
Del: integrated -- https://master.php.net/note/delete/69858/integrated
Del: useless -- https://master.php.net/note/delete/69858/useless
Del: bad code -- https://master.php.net/note/delete/69858/bad+code
Del: spam -- https://master.php.net/note/delete/69858/spam
Del: non-english -- https://master.php.net/note/delete/69858/non-english
Del: in docs -- https://master.php.net/note/delete/69858/in+docs
Del: other reasons-- https://master.php.net/note/delete/69858
Reject -- https://master.php.net/note/reject/69858
Search -- https://master.php.net/manage/user-notes.php