LTRIM$

Format

string1=LTRIM$(string2)

Description

This statement will remove all leading spaces from string2 and store the result in string1.

Example

A$=" XYZ"
A$=LTRIM$(A$)
After execution of these statements, the variable A$ will contain the string "XYZ" with no leading spaces.

See Also

  • RTRIM$