With the upper modifier, it is possible to convert all characters of a text to uppercase:

upper

{{"text"|upper}}

Examples

upper examples

{{"Today It Is Very Sunny"|upper}} TODAY IT IS VERY SUNNY
{{"Today it is very sunny"|upper}} TODAY IT IS VERY SUNNY
{{"TODAY IT IS VERY SUNNY"|upper}} TODAY IT IS VERY SUNNY

{{$string = "ToDaY It iS vErY SuNNy"}}
{{$string|upper}} TODAY IT IS VERY SUNNY

This method is particularly useful when comparing two strings, using the lower or upper modifier ensures that the source and target strings are equal to each other.

upper with if-statement

{{$string1 = "Compare 2 strings"}}
{{$string2 = "Compare 2 STRINGS"}}

{{if $string1|upper eq $string2|upper}}
.....
{{/if}}