LCase Function

Office VBScript

Microsoft® Visual Basic® Scripting Edition LCase Function  Language Reference 
Version 1 


Description
Returns a string that has been converted to lowercase.
Syntax
LCase(string)

The string argument is any valid string expression. If string contains Null, Null is returned.

Remarks
Only uppercase letters are converted to lowercase; all lowercase letters and nonletter characters remain unchanged.

The following example uses the LCase function to convert uppercase letters to lowercase:
Dim MyString
Dim LCaseString
MyString = "VBSCript"
LCaseString = LCase(MyString) ' LCaseString contains "vbscript".