chomp
format
formatlist
indent
join
lower
regex
regexall
replace
split
strrev
substr
title
trim
trimprefix
trimsuffix
trimspace
upper
You are viewing documentation for version v1.2.x. View latest version.
split produces a list by dividing a given string at all occurrences of a given separator.
split(separator, string)
> split(",", "foo,bar,baz") [ "foo", "bar", "baz", ] > split(",", "foo") [ "foo", ] > split(",", "") [ "", ]
On this page: