See Also: String Functions, String Operators (Expression Syntax), Ltrim, Rtrim
Trim returns a string with leading and trailing white space characters removed.
White space characters removed include ASCII characters 0 (null), 9 (horizontal tab), 10 (line feed), 11 (vertical tab), 12 (new page/form feed), 13 (carriage return) and 32 (space).
(Trim( {string-value} ))
Trim removes all white space characters to the left of the leftmost non-space and to the right of the rightmost non-space character in the {string-value} parameter.
Showln "$" (Trim(" Happyness ")) "$"
In this example, the string "$Happyness$" is shown.
This function returns a value of type string. If the result of this function is moved to a variable of type other than string, its value is converted to the destination type, if possible.