Length of string in Jinja/Flask Length of string in Jinja/Flask python python

Length of string in Jinja/Flask


You can use the length filter:

{% if some_var|length > 1 %}