The advantage of regex is that .01% where you want to make sure you get
every kind of whitespace character included in the trim...
So I'm apt to use Jacque's approach for most of my needs, and only use the regex Trim when I suspect there may be non-breaking spaces involved.
Interesting. I didn't know that regex included non-breaking spaces in its definition of white space. So there's a place for both methods.
-- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
