note 16689 deleted from function.chop by jimw
| From: | jimw@php.net | Date: | Sat, 10 Nov 2001 23:32:51 +0000 |
| Subject: | note 16689 deleted from function.chop by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20705@lists.php.net to get a copy of this message | ||
Howdy, well here's a little code if you want to cut the last character of the string
$new_str = substr($str2cut,0,strlen($str2cut)-1);
Hope it helps.
P.A. Luis Tena O.
México City.
UIN: 4287383