Learn how to use filters in Jinja.
|
symbol.
lower
: Converts a string to lowercase.upper
: Converts a string to uppercase.title
: Capitalizes the first letter of each word.capitalize
: Capitalizes the first letter of the string.reverse
: Reverses the string.length
: Returns the number of items in a list or string.join
: Joins a list of strings into a single string.first
: Returns the first item in a list.sort
: Returns the last item in a list.round
: Rounds a number to a specified number of decimal places.abs
: Returns the absolute value of a number.