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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate express...
Power Automate
Unanswered

Power Automate expressions - LEFT RIGHT

(0) ShareShare
ReportReport
Posted on by 7

Hi All,

 

I'm trying to extract from Email Subject: Q3 FY20 Quarterly Lease Request due EOD Monday, June 8th.

 

I used this expression to extract Q3 FY20: substring(triggerBody()?['subject'],0,7)

But how do I extract the date at the end of the Email Subject? (anything after the comma).

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    Jay-Encodian Profile Picture
    2,920 on at

    Hi @SheilaMullane 

    Try - substring(triggerOutputs()?['body/subject'],add(lastIndexOf(triggerOutputs()?['body/subject'],','),2))

    1.jpg

     Output

    2.jpg

    Kind regards

    Jay

  • SheilaMullane Profile Picture
    7 on at

    Hi Jay,

     

    thank you for the prompt reply! it works now! appreciate it!

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard