join - Liquid Filter Reference - 1.0.0
Filter Name | join |
Group | Arrays |
Version | 1.0.0 |
Description
Combines the items in an array into a single string using the argument as a separator.
Examples
{% assign an_array = "scissors, paper, rock" | split: ", " %}
{{ an_array | join: " beats " }}
scissors beats paper beats rock
Back to Liquid Reference for 1.0.0
Back to Documentation