Home > lang > ltrim 
 fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
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.

Example

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

<Gambas>

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

<Gambas   >

See also

String Functions, RTrim$, Trim$