Gambas Documentation - /lang/ltrim

# 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.

### Examples

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

    <Gambas>

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

    <Gambas   >

### See also

- String Functions

- RTrim$

- Trim$