ADELIA |
VADELIA |
SADELIA |
WADELIA |
EADELIA |
(I/B) |
(I/B) |
(B) |
(I/B) |
(B) |
Description
This predefined function is used to convert lower case characters into upper case characters.
Syntax
Result = &UPPER_CASE(String)
Parameters
|
Description |
Contents |
Controls |
Result |
Alphanumeric variable. |
Character string after conversion. The field is cleared before the function is run. |
|
String |
Alphanumeric constant or variable. |
Character string on which the function is to be run. |
Mandatory parameter. |
Note: If the result field is too short, the result obtained is truncated.
See also the &TRANSFORMATION function.
Example
NAME = 'Forrest Gump '
NEW_NAME = &UPPER_CASE(NAME)
*
** NEW_NAME is equal to: FORREST°GUMP°°°°°
NAME = 'Forrest Gump & Son'
NEW_NAME = &UPPER_CASE(NAME)
*
* NEW_NAME is equal to: FORREST°GUMP°&°SON
List of predefined functions by topic