Re: last char in string?

From: Date: Thu, 14 Feb 2002 12:00:56 +0000
Subject: Re: last char in string?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-84724@lists.php.net to get a copy of this message
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 ¦ beyerlin@magic-garden.de > > Tel. (07 11) 619 57-42 ¦ Fax (07 11) 615 01 38 > > > > >

« previous php.general (#84724) next »