mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 10:14:44 -04:00
parent
0de50e3ea6
commit
b9049b5771
@ -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`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user