web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Help wit Compose expre...
Power Automate
Answered

Help wit Compose expression

(0) ShareShare
ReportReport
Posted on by

I would like to take this compose action below and change it from [ "email1", "email2"] to email1; email2. Please help! 

 

PDT2017_0-1650393890582.png

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @PDT2017 

     

    Use replace() expression to remove the other characters.

  • Verified answer
    abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @PDT2017 

     

    Here is the expression

     

    replace(replace(replace(string(outputs('Compose')),'[',''),']',''),'"','')
     
     
    If you need to convert that comma to semi-colon then use the below expression
     
    replace(replace(replace(replace(string(outputs('Compose')),'[',''),']',''),'"',''),',',';')
  • PDT2017 Profile Picture
    on at

    Thanks! I would use the split() function to turn it into an Array, is that correct?

  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @PDT2017 

     

    I got a better one for you try the below

     

    join(outputs('Compose'),';')
  • PDT2017 Profile Picture
    on at

    Thank you! That worked great. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard