Re: remove last comma in string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, June 9, 2006 5:17 pm, Paul Novitski wrote:
>>rtrim() won't work, as ',' is not whitespace.
>
> Richard, you're wrong -- read the manual.  All three functions
> trim(), ltrim(), and rtrim() allow you to append an optional list of
> characters to be trimmed:
>
> http://php.net/trim
> http://php.net/ltrim
> http://php.net/rtrim

Yeah, those wacky PHP Devs keep adding features faster than I can
learn and remember 'em :-)

-- 
Like Music?
http://l-i-e.com/artists.htm

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux