NexJ Logo

Trim()

Removes space and tab characters from the beginning and end of the specified string of text. This function takes a string value as an argument and returns a string value.

Syntax

Trim(<text_to_trim>)

Input

text_to_trim

string

The text to trim characters from.

Output

string

Example

The expression Trim(" The quick brown fox ") returns "The quick brown fox".