http://php.net/substr $rest = substr("abcdef", 0, -1); // returns "abcde"
-Rasmus On Thu, 14 Feb 2002, marcbey wrote: > hello php guys, > > how can i delete the last char in a string? > > thanx > > > -- > ------------------------------------------------------- > magic garden GmbH - Agentur für Informationsarchitektur > > Hermannstr. 15 - 70178 Stuttgart (Am Feuersee) > > www.magic-garden.de ¦ [EMAIL PROTECTED] > > Tel. (07 11) 619 57-42 ¦ Fax (07 11) 615 01 38 > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php