upperCase()

The string-formatting function StrLib.upperCase converts all lowercase values in a character string to uppercase values. Numeric and existing uppercase values are not affected.

  StrLib.upperCase(text STRING in)
  returns (result STRING)
result
A variable of type STRING.
text
A literal, variable, or expression that returns a character string of type CHAR.

The StrLib.upperCase function has no effect on double-byte characters in items of type DBCHAR or MBCHAR.

To convert a character string to lowercase, use the StrLib.lowerCase string-formatting function.

Related reference
EGL library StrLib
lowerCase()

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.