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