note 28455 deleted from function.substr by aidan

From: Date: Sat, 03 Jul 2004 07:49:47 +0000
Subject: note 28455 deleted from function.substr by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72377@lists.php.net to get a copy of this message
Note Submitter: imho@php.net ---- To remove the last character from a string, one would use the code: $newstring = substr($oldstring, 0, -1);

« previous php.notes (#72377) next »