note 11256 added to substr

From: Date: Tue, 13 Feb 2001 06:31:27 +0000
Subject: note 11256 added to substr
Groups: php.notes 
Request: Send a blank email to php-notes+get-10976@lists.php.net to get a copy of this message
Use this to remove the last character of a string; $newstring = substr($oldstring, 0, strlen($oldstring)-1); http://www.php.net/manual/en/function.substr.php

« previous php.notes (#10976) next »