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


Returns a string that has been converted to uppercase.




The string argument is any valid string expression.


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


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

Dim MyString
MyString = "Caché from InterSystems"
Println UCase(MyString) ' Returns "CACHÉ FROM INTERSYSTEMS"
Copy code to clipboard

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

Dim MyString
MyString = Chr(945)&Chr(946)&Chr(947)&Chr(948)
Println MyString
Println UCase(MyString)
Copy code to clipboard

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

See Also