Description
The LTrim$
function removes leading spaces/tabulations from a string.
Usage
Used to take spaces and tabulations off the beginning of a text. To avoid spaces added by mistake during data-entry, use this function.
Syntax
var$ = LTrim$(<string$>)
Parameters
<string$>
: string from which to remove leading spaces.
Return Value
var$
: string, the string from which the leading spaces and tabulations of <string$>
have been removed.
See Also
Examples
a$ = LTrim$(" bcde") ' Returns "bcde" in a$
a$ = LTrim$(a$) ' Deletes the leading spaces from a$