VBScript LTrim Function
Definition and Usage
The LTrim function can remove spaces from the left side of the string.
Syntax
Len(string|varname)
Parameter | Description |
---|---|
String | String Expression. |
Example
Example 1
dim txt txt=" This is a beautiful day! " document.write(LTrim(txt))
Output:
"This is a beautiful day!"