cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chhe
Helper III
Helper III

split string to variables

Hallo,

 

I have 4 flows that build a string of 2 to 5 email addresses seperated by a ';'. It looks like this:

 

email1;email2;email3;email4;email5;

 

Now I want to put each email address in a seperate variable. How can I do that? 

1 ACCEPTED SOLUTION

Accepted Solutions
Hardesh15
Super User
Super User

@chhe 

 

For simplicity (Though @abm mentioned it correctly). but you need Skip function as well-

pls refer

Hardesh15_0-1600452586992.png

 

you can use variable or compose for further emails.

Thanks

Hardesh

 

 

View solution in original post

3 REPLIES 3
Jcook
Super User
Super User

Hello @chhe 

 

What is your business requirement?

I am asking, to better understand why the emails need to be placed inside delegate variables.


If you add a Compose action you can use the split() expression to split the email addresses on the ;

 

This will create an array


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





abm
Super User
Super User

Hi @chhe 

 

Use a split expression to retrieve each emails.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
Hardesh15
Super User
Super User

@chhe 

 

For simplicity (Though @abm mentioned it correctly). but you need Skip function as well-

pls refer

Hardesh15_0-1600452586992.png

 

you can use variable or compose for further emails.

Thanks

Hardesh

 

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,854)