note 16689 added to function.chop

From: Date: Fri, 09 Nov 2001 04:21:56 +0000
Subject: note 16689 added to function.chop
Groups: php.notes 
Request: Send a blank email to php-notes+get-20624@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 -- http://www.php.net/manual/en/function.chop.php http://master.php.net/manage/user-notes.php?action=edit+16689 http://master.php.net/manage/user-notes.php?action=delete+16689 http://master.php.net/manage/user-notes.php?action=reject+16689

« previous php.notes (#20624) next »