Twig Join May 21, 2022 by udhaya twig join {{ [1, 2, 3]|join('|') }} {# outputs 1|2|3 #} Source: twig.symfony.com