Trim

This function removes leading and trailing spaces from a string.

Syntax

Trim(string)

Parameters

string
Any valid string expression. If string contains Null, Null is returned.

Return Values

Returns a string.