toupper()

Converts a string to upper case.

Syntax

toupper(value)

Learn more about syntax conventions.

Parameters

Name Type Required Description
value string ✔️ The value to convert to an uppercase string.

Returns

If conversion is successful, result is an uppercase string. If conversion isn't successful, result is null.

Example

toupper("hello") == "HELLO"