LTrim Function

Returns the String passed with leading (left side) whitespaces removed.

Syntax
result = LTrim( SourceString )
result = stringVariable.LTrim( )

Parameters
SourceString | String | The source, a copy of which, to be returned with leading whitespaces removed.

Return Value
Result | String | SourceString with leading whitespaces removed.

# Notes

LTrim uses the list of unicode "whitespace" characters at http://www.unicode.org/Public/UNIDATA/PropList.txt.

# Examples

This example removes the whitespaces from the left side of the String passed

Dim s as String
s=LTrim(" Hello World ")
//Returns "Hello World "

:

# See Also

Asc, Chr, InStr, Left, Len, Mid, Right, RTrim, Trim functions.