Skip to main content

join

Converts an array into a string by concatenating all of its elements, separated by a specified separator.

Basic Usage

{% set product_tags = "tag1, tag2, tag3" | split(", ") %}
{{ product_tags | join(" | ") }}

Output: tag1 | tag2 | tag3