Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

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