Can the "split text" task output a collection?

#1

When I try, it outputs a list of 20 fields instead.

Ultimately, I’m trying to get an “iterable” attribute of sorts. Essentially an array in programming. Is something like this possible?

(Karen Barker) #2

Hi Kai,

The Text > Split Text function will only return the values as separate outputs. If you wanted these as a collection you would be best off using the code service to use a java script regex to split the text and store the results in an array. You can then return the array and use data outputs to access this.

1 Like