join - Liquid Filter Reference - 0.11.4
Filter Name | join |
Group | Arrays |
Version | 0.11.4 |
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 0.11.4
Back to Documentation