You are viewing the documentation for Blueriq 15. Documentation for other versions is available in our documentation directory.
UPPERCASE
Returns a string with all characters in uppercase.
Syntax
UPPERCASE string
Inputs
- string - An attribute of base type string, an expression that results in a string or a constant string value.
UPPERCASE does not have a functional syntax. This can have unexpected effects on concatenation. UPPERCASE ( "hello" ) + LOWERCASE ( " WORLD" ) is equivalent to UPPERCASE ( ( "hello" ) + LOWERCASE ( " WORLD" ) ). Use ( UPPERCASE string ) syntax to avoid this behaviour.
Return type
- string
Example
Expression | Result | Type |
---|---|---|
UPPERCASE ( "hello" ) | "HELLO" | String |
UPPERCASE "WORLD" | "WORLD" | String |
UPPERCASE ( "hello world " ) | "HELLO WORLD " | String |
UPPERCASE " hELLo " | " HELLO " | String |
UPPERCASE ( ? ) | ? | String |
( UPPERCASE "hello" ) + ( LOWERCASE " WORLD" ) | "HELLO world" | String |
UPPERCASE ( "hello" ) + LOWERCASE ( " WORLD" ) | "HELLO WORLD" | String |
Overview
Content Tools