Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript LTrim Function

VBScript LTrim Function


VBScript reference manual Complete VBScript Reference Manual


The LTrim function removes the spaces on the left side of a string.

**Tip:** See also the RTrim and Trim functions.

Syntax

LTrim(string)

Parameters Description
string Required. A string expression.

Example

Example

The example above produces the following output:

HelloJack and welcome.

Try it »


VBScript reference manual Complete VBScript Reference Manual