Function StringToUpper(text)

StringToUpper

The function StringToUpper converts all characters of a string to upper case.

StringToUpper(
     text            ! (input) a scalar string expression
     )

Arguments

text

The string that you want to convert to upper case characters.

Return Value

The function returns the upper case string.

Example

The code:

sp_str := "hello HELLO";
sp_res := StringToUpper( sp_str );
display sp_res ; ! sp_res := "HELLO HELLO" ;

See also

The functions StringToLower, StringCapitalize.