format
Found a typo or an error? Open a ticket.
Need support or have a technical question? Post to the user mailing-list.
The format filter formats a given string by replacing the placeholders (placeholders follows the printf notation):
{{ "I like %s and %s."|format(foo, "bar") }} {# returns I like foo and bar if the foo parameter equals to the foo string. #}
See also
replace