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