shopify liquid filter split code example
Example 1: split in liquid
{% assign beatles = "John # Paul# George # Ringo" | split: ", " %}
{% for member in beatles %}
{{ member }}
{% endfor %}
Example 2: split in liquid
{% assign beatles = "Dobby fabric Men kurta long#5 - large / black / cotton" | split: ", " %}
{{beatles}}