cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sbonera
Level: Powered On

Split ; for email address on selected item output

Capture1.PNG

Hi   

 

I have an reviewers output box on for selected item to capture 2 or 3 email addresses.  As you can put multiple email addresses in this box the output is first.user@etc.com;second.user@etc.com;

 

I would like to get the 2 or 3 emails in a varible  so tried this   
split('Reviewers',';')   to see if i could split those email address to place in different sharepoint columns

3 REPLIES 3
Charles_John
Level: Powered On

Re: Split ; for email address on selected item output

sbonera,

 

To return specific items from the array, append it with [#]

 

1st Email Address = split('Reviewers',';')[0]

2nd Email Address = split('Reviewers',';')[1]

3rd Email Address = split('Reviewers',';')[2]

 

Cheers

Administrator
Administrator

Re: Split ; for email address on selected item output

Hello, @sbonera!

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @Charles_John‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
sbonera
Level: Powered On

Re: Split ; for email address on selected item output

In my case split(Triggerbody()['Email'],';')[0]  worked  which was the expression behind the reviewer field.  when I used the reviewers dynamic content it for some reason would return the word reviewers and not the email addresses.  

 

So I would say the answer got me there, however maybe this is flow issue for having to put (Triggerbody()['Email'],';')[0] ?

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,424)