Skip to main content

STRING を DELIM で分割して、文字列のスライスを返します。

例:

{{ split "tag1,tag2,tag3" "," }} → ["tag1", "tag2", "tag3"]
{{ split "abc" "" }} → ["a", "b", "c"]