Trim

Removes all leading and trailing whitespace characters from the given string.

Syntax

String.Trim
   ·  [text]

Parameters

text
The string to trim.

Return Value

The trimmed string.