split
The split filter splits a string into an array by the passed delimiter.
{% set data = 'one,two,three'|split(',') %}
The split filter splits a string into an array by the passed delimiter.
{% set data = 'one,two,three'|split(',') %}