LCase Function

Returns a string that has been converted to lowercase.

Syntax

LCase(string)

Remarks

The string argument is any valid string expression.

Only uppercase letters are converted to lowercase; all lowercase letters and non-letter characters remain unchanged. The following example uses the LCase function to convert uppercase letters to lowercase:

The following example illustrates the use of the LCase function:

Example 1:

Dim MyString
Dim LCaseString
MyString = "BSL"
LCaseString = LCase(MyString)   
' Output: "bsl".

Example 2:

Dim MyString
Dim LCaseString
MyString = "bsl"
LCaseString = LCase(MyString)   
' Output: "bsl".

Example 3:

Dim MyString
Dim LCaseString
MyString1 = "bsl123BSL"
LCaseString = LCase(MyString)   
'Output: "bsl123bsl".