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
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. 🙂 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,856 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard