Skip to main content
Previous sectionNext section

LCase

Returns a string that has been converted to lowercase.

Synopsis

LCase(string)

Arguments

The string argument is any valid string expression.

Description

Only uppercase letters are converted to lowercase. Lowercase letters and non-letter characters remain unchanged.

Examples

The following example uses the LCase function to convert uppercase letters to lowercase:

Dim MyString
MyString = "Caché from InterSystems"
Println LCase(MyString) ' Returns "caché from intersystems"
Copy code to clipboard

The following example converts the first four letters of the Greek alphabet from uppercase to lowercase:

Dim MyString
MyString = Chr(913)&Chr(914)&Chr(915)&Chr(916)
Println MyString
Println LCase(MyString)
Copy code to clipboard

(Note that the above example requires a Unicode installation of Caché.)

See Also