Haha you wouldn't feel that way if you saw some of MY code... ;)


On Monday 22 April 2002 20:57 pm, you wrote:
> 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

-- 
Who speaks of liberty while the human mind is in chains?

Francis Wright

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

Reply via email to