upperCase Method

Class: String

Description

This method returns the uppercase version of a string. This method replaces the $$UPPER^%ZFUNC() function.

Syntax

StringObject.upperCase()

Parameters

None

 

Returns

The string in which all characters are converted to uppercase characters.

When Became Available

v7.0

Example

type String MIXED = "Hello World!"

type String UPPER = MIXED.upperCase()    // "HELLO WORLD"