mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
498 B
498 B
title, description
| title | description |
|---|---|
| join | Liquid filter that joins an array of strings into a single string. |
Combines the items in an array into a single string using the argument as a separator.
Input
```liquid {%- raw -%} {% assign beatles = "John, Paul, George, Ringo" | split: ", " %}{{ beatles | join: " and " }} {% endraw %}
<p class="code-label">Output</p>
```text
{% assign beatles = "John, Paul, George, Ringo" | split: ", " %}
{{ beatles | join: " and " }}