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


Coverts alphabetic characters to lowercase.




string An expression that resolves to a string.


The DOWNCASE function returns a string of characters with all uppercase letters converted to lowercase. Characters other than uppercase letters are passed through unchanged. If you specify a null string, DOWNCASE returns a null string.

By default, DOWNCASE performs case conversion on ANSI Latin-1 letters. By default it does not convert Unicode letters on a Unicode Caché instance; it passes Unicode letters through unmodified. To perform case conversion on letters in other character sets, you must set the appropriate locale.

The OCONV function with the “MCL” option is functionally identical to the DOWNCASE function. To convert lowercase to uppercase, use the UPCASE function.


The following example uses the DOWNCASE function to return a string in all lowercase:

PRINT DOWNCASE("InterSystems");  ! Returns "intersystems"
Copy code to clipboard

See Also