--- "John W. Holmes" <[EMAIL PROTECTED]> wrote:
> > http://www.php.net/rtrim
> 
> rtrim() removes whitespace, not commas.

That's exactly what I thought (and said). :-)

Matt corrected me by pointing out a second, optional argument added in
4.1.0 where you can specify one or more characters to include in the
trimming (so, whitespace + whatever characters you specify will be
trimmed).

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly
     Coming Fall 2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/

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

Reply via email to