note 49256 deleted from function.strrpos by tularis
| From: | tularis@php.net | Date: | Fri, 21 Jan 2005 18:42:01 +0000 |
| Subject: | note 49256 deleted from function.strrpos by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83739@lists.php.net to get a copy of this message | ||
Note Submitter: Chris
Reason: useless
----
To remove that trailing comma from a loop use this...
$str = substr($str, 0, -1);
This removes the last character of any string.