TO_UPPER_CASE
Description
Converts all letters in the specified text to uppercase.
Syntax
TO_UPPER_CASE(string, locale_optional) -> String
Parameters
| Parameter | Data Type | Required | Description |
|---|---|---|---|
| string | String | Yes | The original string. |
| locale_optional | String | No | Locale identifier (such as "en-US") to apply locale-specific casing rules. If omitted, default locale is used. |
Examples
TO_UPPER_CASE("icon")
-- Returns "ICON".TO_UPPER_CASE("administrator", "tr")
-- Returns "ADMİNİSTRATOR".
-- Converts the string to uppercase using Turkish locale-specific rules.Tips
Non-letter characters remain unchanged.
If no locale is provided, standard uppercase conversion rules are used.
Specify a locale (e.g., "tr") when locale-specific rules are required, such as special handling of the letter "i" in Turkish.