lang • 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 strictly lower than 32.

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


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

See also