4 The ``format`` filter formats a given string by replacing the placeholders
5 (placeholders follows the `sprintf`_ notation):
9 {{ "I like %s and %s."|format(foo, "bar") }}
11 {# returns I like foo and bar
12 if the foo parameter equals to the foo string. #}
14 .. _`sprintf`: http://www.php.net/sprintf
16 .. seealso:: :doc:`replace<replace>`