docs: Document the split function

Fixes #1997
This commit is contained in:
Robert Basic authored and digitalcraftsman committed 2016-03-28 15:58:41 +02:00
1 parent 0de50e3ea6
commit b9049b5771
1 file changed
+8
+8
View File
@@ -559,6 +559,14 @@ e.g.
* `{{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`.