With the lower modifier, it is possible to convert all characters of a text to lowercase:
Examples
lower examples
{{"Today It Is Very Sunny"|lower}} today is very sunny
{{"Today it is very sunny"|lower}} today is very sunny
{{"TODAY IT IS VERY SUNNY"|lower}} today is very sunny
{{$string = "ToDaY It iS vErY SuNNy"}}
{{$string|lower}} today 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.
lower with if-statement
{{$string1 = "Compare 2 strings"}}
{{$string2 = "Compare 2 STRINGS"}}
{{if $string1|lower eq $string2|lower}}
.....
{{/if}}