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 4c95b70020
commit 50506ebeac

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