toupper

  • Version 4.0 and earlier: toupper() function not available.
  • Version 5.0 and later: toupper() function available.

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.

toupper (string)

string

Required. The string to convert to uppercase.

A string that contains an uppercase copy of the argument.

result = toupper (variableName);
result = toupper ("String Constant");

For more information, please see tolower.