lower

Converts a string to lowercase.

InputArgumentsReturnsstringno argumentsstring
Source

Behaviors

Coerces scalars to text
A scalar value such as a number or a boolean is converted to its text form before matching, so 42 is accepted as "42".
BasicSource

Converts the value to lowercase.

Given

{"name": "Ada LOVELACE"}

Template

{{ name | lower }}

Result

ada lovelace
UnchangedSource

Leaves a string that is already lowercase untouched.

Given

{"tag": "already-lower"}

Template

{{ tag | lower }}

Result

already-lower
UnicodeSource

Lowercases a multi-byte string, keeping the accented letters intact.

Given

{"city": "MÜNCHEN"}

Template

{{ city | lower }}

Result

münchen