Page 1 of 1

Trim a string

Posted: Mon Nov 07, 2011 1:49 pm
by wblack
Is it possible to call Trim using a list of characters to trim? I haven't been successfully parsing the Documentation.

Posted: Mon Nov 07, 2011 3:16 pm
by ray.wurlod
Not using the Trim() function - it can only specify one character to trim. However, you can use the Convert() function with a second argument of "". Or you could use nested Trim() functions if there are few characters to be trimmed or you need to trim only from one end, etc.