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
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
$s = substr($s,0,strlen($s)-1);
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: marcbey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 1:48 PM
Subject: [PHP] last char
3 matches
Mail list logo