ContentsIndexPreviousNext

UPPER-CASE Function

The UPPER-CASE function returns a character string that is the same length as argument-1 with each lowercase letter replaced by the corresponding uppercase letter. The type of this function is alphanumeric.

Usage

FUNCTION UPPER-CASE (argument-1)

Parameters

Argument-1 must be class numeric or alphanumeric and must be at least one character in length.

Returned Values

1. The same character string as argument-1 is returned, except that each lowercase letter is replaced by the corresponding uppercase letter.

2. The character string returned has the same length as argument-1.

3. This function is similar to the library routine C$TOUPPER except that the original data is not modified, and the entire string is converted.