QBasic 1.1: LTRIM$ Function

Syntax

LTRIM$(stringexpression$)
RTRIM$(stringexpression$)

Description / Parameter(s)

stringexpression$ Any string expression.

Example

a$ = " Basic " PRINT "*" + a$ + "*" 'Output is: * Basic * PRINT "*" + LTRIM$(a$) + "*" 'Output is: *Basic * PRINT "*" + RTRIM$(a$) + "*" 'Output is: * Basic*