Files
hugo/content/functions/split.md
T
Bud Parr 7fd64f19c8 Merge bp/theme-design branch containing Bud Parr's new design
It's a beautiful thing. A thousand thanks, Bud.

See PR rdwatters/hugo-docs-concept#118
2017-05-26 14:25:22 -05:00

28 lines
502 B
Markdown

---
title: split
# linktitle: split
description: splits a string into substrings separated by a delimiter
godocref:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
categories: [functions]
menu:
docs:
parent: "functions"
tags: [strings]
ns:
signature: ["split STRING DELIM"]
workson: []
hugoversion:
relatedfuncs: []
deprecated: false
aliases: []
---
`split` splits a string into substrings separated by a delimiter.
* `{{split "tag1,tag2,tag3" "," }}` → ["tag1" "tag2" "tag3"]