hugo/docs/content/functions/split.md

432 B

title description godocref date publishdate lastmod categories menu signature workson hugoversion relatedfuncs deprecated aliases
split splits a string into substrings separated by a delimiter 2017-02-01 2017-02-01 2017-02-01
functions
docs
parent
functions
split STRING DELIM
false
  • {{split "tag1,tag2,tag3" "," }} → ["tag1" "tag2" "tag3"]