Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

flask template split string

{% set list1 = variable1.split(';') %}
{% for item in list1 %}
    <p>{{ item }}<p/>
{% endfor %} 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flask #template #split #string
ADD COMMENT
Topic
Name
1+8 =