toupper
- Version 4.0 and earlier: toupper() function not available.
- Version 5.0 and later: toupper() function available.
Description
The toupper() function returns a copy of a string, converted to all uppercase.
The toupper() function supports both single-byte and multiple-byte character sets. If the character set for the locale does not distinguish uppercase and lowercase characters, the original string is returned unchanged.
Syntax
toupper (string)
Arguments
string |
Required. The string to convert to uppercase. |
Return Values
A string that contains an uppercase copy of the argument.
result = toupper (variableName); result = toupper ("String Constant");
For more information, see tolower.