Because I'm kinda stupid.  :)

tyler

----- Original Message -----
From: "Evan Nemerson" <[EMAIL PROTECTED]>
To: "Tyler Longren" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 10:53 PM
Subject: Re: [PHP] remove last character in a string


> Why get strlen involved???
>
> $string = substr("$string", 0, -1);
>
>
>
> --
> He is richest who is content with the least, for content is the wealth of
> nature.
>
> Socrates
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to