split.md (423B)
1 ---
2 title: split
3 # linktitle: split
4 description: splits a string into substrings separated by a delimiter
5 date: 2017-02-01
6 publishdate: 2017-02-01
7 lastmod: 2017-02-01
8 categories: [functions]
9 menu:
10 docs:
11 parent: "functions"
12 keywords: [strings]
13 signature: ["split STRING DELIM"]
14 workson: []
15 hugoversion:
16 relatedfuncs: []
17 deprecated: false
18 aliases: []
19 ---
20
21 * `{{split "tag1,tag2,tag3" "," }}` → ["tag1" "tag2" "tag3"]