mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
77f4d6c32f
- Fix broken links (including fragments) - Remove ref and relref shortcodes
666 B
666 B
title, description, date, publishdate, lastmod, categories, menu, keywords, signature, workson, hugoversion, relatedfuncs, deprecated, aliases
| title | description | date | publishdate | lastmod | categories | menu | keywords | signature | workson | hugoversion | relatedfuncs | deprecated | aliases | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| split | Returns a slice of strings by splitting STRING by DELIM. | 2017-02-01 | 2017-02-01 | 2022-11-06 |
|
|
|
|
false |
Examples:
{{ split "tag1,tag2,tag3" "," }} → ["tag1", "tag2", "tag3"]
{{ split "abc" "" }} → ["a", "b", "c"]
{{% note %}}
split essentially does the opposite of delimit. While split creates a slice from a string, delimit creates a string from a slice.
{{% /note %}}