split

Divide a string into an array of substrings using a designated delimiter pattern.

Syntax

{{ string | split: delimiter }}

Example

{% assign items = "Strategy,Design,Launch" | split: "," %}{{ items | join: " · " }}

Output

Strategy · Design · Launch

The split filter breaks a single delimited text string into an array of separate items based on a specified delimiter pattern like commas, semicolons, or pipe symbols.

In programmatic SEO keyword generation, split parses multi-value attributes stored inside single CSV spreadsheet cells into iterable collections. For example: {% assign services = row.sub_services | split: ',' %}<ul>{% for s in services %}<li>{{ s | strip }}</li>{% endfor %}</ul>. This turns compact flat data rows into rich HTML lists and structured metadata.

Try this syntax in the editor.