note 17510 deleted from ref.strings by jimw

From: Date: Thu, 20 Dec 2001 23:33:52 +0000
Subject: note 17510 deleted from ref.strings by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23571@lists.php.net to get a copy of this message
I wrote a small function to remove the last nchars characters from the string $string: function rmlstr($string, $nchars){ return strrev(substr(strrev($string),$nchars)); }

« previous php.notes (#23571) next »