uppercase
Converts a string to uppercase.
Syntax
uppercase(s)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| s | string | Yes | The string to convert to uppercase. |
Returns
Type: string
The input string with all characters converted to uppercase. Returns an empty string if the input is not a string.
Examples
Normalize a status field:
uppercase([priority])
If priority is "high", the result is "HIGH".
Use in a concatenation:
concatenate(uppercase([category]), " - ", [subcategory])
If category is "network" and subcategory is "Firewall", the result is "NETWORK - Firewall".
Notes
- If the input is not a string (e.g., a number or
None), the function returns an empty string""rather than raising an error. - This function applies the standard Unicode uppercase transformation, so it works correctly with accented and international characters.
Comments
0 comments
Please sign in to leave a comment.