ref: 50506ebeac7af1da739385fa77767bc004b8ddbd
parent: 4c95b700208286687e40a367eb3bc2446eca6912
author: Robert Basic <[email protected]>
date: Mon Mar 28 05:27:29 EDT 2016
docs: Document the split function Fixes #1997
--- a/docs/content/templates/functions.md
+++ b/docs/content/templates/functions.md
@@ -559,6 +559,14 @@
* `{{slicestr "BatMan" 3}}` → "Man"
* `{{slicestr "BatMan" 0 3}}` → "Bat"
+### split
+
+Split a string into substrings separated by a delimiter.
+
+e.g.
+
+* `{{split "tag1,tag2,tag3" "," }}` → ["tag1" "tag2" "tag3"]
+
### string
Creates a `string`.