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 · LaunchThe 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.
Filters
- abs
- append
- at_least
- at_most
- capitalize
- ceil
- compact
- concat
- date
- default
- divided_by
- downcase
- escape
- escape_once
- first
- floor
- join
- last
- lstrip
- map
- minus
- modulo
- newline_to_br
- plus
- prepend
- remove
- remove_first
- replace
- replace_first
- reverse
- round
- rstrip
- size
- slice
- sort
- sort_natural
- split
- strip
- strip_html
- strip_newlines
- times
- truncate
- truncatewords
- uniq
- upcase
- url_decode
- url_encode
- where
- raw
- slugify
- number_format
