trim(string [, string])
Trim whitespace from the start and end of a string.
Whitespace is defined as the space, tab, vertical tab, newline, and form feed characters. Optionally, a list of characters can be specified that will be trimmed from the start and end of the string instead of the default whitespace characters.
Examples
str = trim( " test " )
str = trim( "<test>", "<>" )