Trim the input string

Returns a string whose value is this string, with any leading and trailing whitespace removed.

This method may be used to trim whitespace from the beginning and end of a string.

Function: TRIM()

Examples:

" unhappy " – TRIM() returns "unhappy"

Returns:

A string whose value is this string, with any leading and trailing white space removed, or this string if it has no leading or trailing white space.