docs: Document the split function

Fixes #1997
This commit is contained in:
Robert Basic 2016-03-28 09:27:29 +02:00 committed by digitalcraftsman
parent 0de50e3ea6
commit b9049b5771

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`.