chomp
endswith
format
formatlist
indent
join
lower
regex
regexall
replace
split
startswith
strcontains
strrev
substr
title
trim
trimprefix
trimsuffix
trimspace
upper
You are viewing documentation for version v1.7.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: