trim

Removes beginning and ending white space from string.

Syntax

trim(string)

Parameters

string

Specifies the string to be trimmed (its value is not modified).

Returns

Returns a new string that now has white space at the beginning or end.