{% template filters1 () (str) %} {{str | string-upcase}} {% end %} {% template filters2 () (str) %} {{str | string-upcase | string-trim '(#\%) _}} {% end %}