LTrim, RTrim, and Trim functions

LTrim, RTrim, and Trim functions

See Also         Example

Returns a Variant (String) containing a copy of a specified string without leading spaces (LTrim), trailing spaces (RTrim), or both leading and trailing spaces (Trim).

Syntax

LTrim(string)

RTrim(string)

Trim(string)

The required string argument is any valid String expression. If string contains Null, Null is returned.