Sorry, I probably should have been more specific.  The "\s" should
strip any representation of "standard" whitespace.  Other non-printing
characters will not be stripped.  You might want to try using the
asc() function to see what at least one of those characters might be:

asc ( left ( myString, 1 ) )

If it's not a whitespace character, you may have to try something like:

REReplace ( myString, '^[\s\xdd]*', '' )

Where, in this case the "dd" in the character class represents the
hexadecimal value of the non-printing character.

On 6/21/06, Michael E. Carluen <[EMAIL PROTECTED]> wrote:
> I'm currently using a UDF that returns a simple alpha-num value.  When used
> inside a form textarea, the value generates several leading whitespace
> chars. Wrapping it in trim() doesn't work.  Any suggestions?  Thank you.
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244497
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to