CitectVBA Programming Reference > CitectVBA Function Reference > String Functions > LCase

LCase

Converts all uppercase letters in Str to lowercase letters. All lowercase letters and non-letter characters remain unchanged.

Syntax

LCase(Str)

Str:

A string or expression that can represent a valid text value.

Return Value

Returns a string.

Related Functions

UCase

Example

Dim strMixedCase as String
Dim strLowerCase as String
Dim strUpperCase as String
strMixedCase = "AbCdE"
strLowerCase = LCase(strMixedCase) ' returns "abcde"
strUpperCase = UCase(strMixedCase) ' returns "ABCDE"