note 28448 added to function.rtrim
| From: | ogre at NOSPAM dot com | Date: | Mon, 13 Jan 2003 19:54:10 +0000 |
| Subject: | note 28448 added to function.rtrim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42071@lists.php.net to get a copy of this message | ||
That's actually just a misconception. Much like any other function, you can always reuse the
name and reassign it to the same one if you so wish.
$text="blah ... ";
$text=rtrim($text);
Will return $text as 'blah ...'.
--
http://www.php.net/manual/en/function.rtrim.php
http://master.php.net/manage/user-notes.php?action=edit+28448
http://master.php.net/manage/user-notes.php?action=delete+28448
http://master.php.net/manage/user-notes.php?action=reject+28448