split

function, since version 1.1.5
categories: arrays, strings

split(str, delimiter)

the split function is used to split a str string into an array of substrings

parameters

return type:

array[string]

example

join(split('a:b:c:d:e', ':'), '-')
join(split('a:b:c:d:e', ':'), '')
join(split('a:b:c:d:e', ':'), ', ')

returns

a-b-c-d-e
abcde
a, b, c, d, e

Related functions:

Update your privacy settings