Skip to main content

Hi everyone,

Is it possible to split one input and put it in a several variable.

For example I will get the variable "Attendees" which consist of several peoples.

person1@gmail.com; person2@gmail.com; person3@gmail.com;

I want to loop through it and put it to several variables. and removing the semicolons.

var1 = person1@gmail.com

var2 = person2@gmail.com

var3 = person3@gmail.com;

Thank you!

if you do not have them already in collection them turn turn them into collection - eg. with regular expression action.

then setup foreach loop and iterate through collection.

within the loop make a switch by loop index value and with each index set current collection element into different variable.

note that requires you know upper bound of possible values you can get on input so that you can create sufficient number of variables in advance.


Thanks ‌. This solved my problem happy.png


Reply