uppercase

string

Converts a string to uppercase (alias for toupper)

Syntax

uppercase(string)

Parameters

string (string)

The string to convert

Returns

string

String converted to uppercase

Examples

Input:
uppercase("hello")
Output:
"HELLO"
Input:
uppercase("Hello World")
Output:
"HELLO WORLD"
Input:
"test" | uppercase
Output:
"TEST"

The uppercase() function converts all characters in a string to uppercase. This is an alias for toupper().

Usage

Use uppercase() for formatting headers, creating constants, or normalizing text data for comparison.