VBScript LCase Function
Definition and Usage
The LCase function can convert the specified string to lowercase.
Tip:See also UCase function.
Syntax
LCase(string)
Parameter | Description |
---|---|
string | Required. The string needs to be converted to lowercase. |
Instance
Example 1
dim txt txt="THIS IS A BEAUTIFUL DAY!" document.write(LCase(txt))
Output:
This is a beautiful day!
Example 2
dim txt txt="This Is a Beautiful Day!" document.write(LCase(txt))
Output:
This is a beautiful day!