Introduction

The join filter is used to combine the elements of a list or array into a single string, using a specified delimiter between each element. This is useful for creating formatted lists or concatenating values from a collection into a specific format.

Example of use

Example of how to use the join filter to concatenate elements of a list with a comma and a space as a delimiter:

{{ ['apple', 'banana', 'cherry']|join(', ') }}

Example Output Code