mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
416 B
416 B
title
| title |
|---|
| join |
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 " }}