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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Last Split variables

(1) ShareShare
ReportReport
Posted on by 38

Hi Power Automate Community,

 

I'm seeking some assistance in a flow that looks for a reference string from an email generated by another flow via PowerApps.

 

I have my first(split function working, I can see the results removing all code after this fuction but i cannot get it working for my last(split fuction.

 

<p class="MsoNormal">(Ref: 4g1pjqwnf4cwedxg263jfrtrpeb614vn

 I'm trying to just grab the string after 'Ref: '  in a variable.

last(split(variables('emailBody'),'Ref: '))

 

Thank you. 🙂 

I have the same question (0)
  • abm abm Profile Picture
    32,585 Most Valuable Professional on at
    Re: Last Split variables

     

    Hi @Damndionic360 

     

    That expression looks ok to me but check the variable('emailbody') have more than one 'Ref: ' separator?

     

    Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard