mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 16:14:59 +00:00
1 parent
4c95b70020
commit
50506ebeac
1 file changed
+8
@@ -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`.
|
||||
|
||||
Reference in new issue
Block a user