LTrim$

Result = LTrim$ ( Expr AS String ) AS String Result = LTrim ( Expr AS String ) AS String

Strips white spaces from the left of the String Expr.

A white space is any character whose ASCII code is lower or equal than 32.

LTrim is optimized so that the Expr string is not internally duplicated during the stripping.

Examples

PRINT "<"; LTrim$("Gambas"); ">"
<Gambas>

PRINT "<"; LTrim$("  Gambas   "); ">"
<Gambas   >

See also