VBScript LTrim Function
Complete VBScript Reference
The LTrim function removes spaces on the left side of a string.
Syntax
Parameter |
Description |
string |
Required. A string expression |
Example 1
dim txt
txt=" This is a beautiful day! "
document.write(LTrim(txt))
Output:
"This is a beautiful day! "
|
Complete VBScript Reference
|
|
|