Returns the string that results from converting all characters to uppercase.
Syntax:
►►─── TOUPPER (string) ───────────────────────────────────────────────────────►◄
Invocation names:
TOUPPER
Parameters:
Specifies the string value on which the uppercase function is performed.
String can be:
Example:
In the example below, the uppercase function is used to convert all characters in the last name to uppercase:
Initial value:
EMP-LNAME: 'Lanchester '
Statement:
compute new-emp-lname = toupper(emp-lname)
Returned string:
'LANCHESTER '
|
Copyright © 2013 CA.
All rights reserved.
|
|