LTrim (Trim Leading Spaces)

The LTrim function returns a copy of a string with no leading spaces.

Syntax

variable = LTrim ( TrimString )

Remarks

The TrimString parameter is the string that should be stripped of leading spaces.

To trim trailing spaces only, use RTrim. To trim both leading and trailing spaces, use Trim.