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 / Concatenate split the ...
Power Automate
Answered

Concatenate split the email address in Power Automate

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have two initialize variables VarEmail as string and VarUserID as string.

 

How can I concatenate the VarEmail "johndoe@email.com" then set VarUserID as "johndoe@" only?

 

Thanks

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Sundeep_Malik Profile Picture
    6,490 on at

    Hey @Anonymous 

     

    You can use the combination of split and concat function here.

     

    Saved your above email in a compose:

    Sundeep_Malik_1-1668790962118.png

     

    Then used another compose and used this expression:

    concat(split(outputs('Compose'),'@')[0],'@')
    So, I am splitting the email where I find @ symbol, then it will be divided into two arrays. 
    Then I am taking the first part of it and then concatinating @symbol at the end. 

    Sundeep_Malik_2-1668790974802.png

     

     

    Output:

     

    Sundeep_Malik_0-1668790926684.png

     

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard