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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Split function between...
Power Automate
Answered

Split function between words

(0) ShareShare
ReportReport
Posted on by 10

Hello All,

 

I'm building a Power Automate that he get the title of an email and return specific words, example the title is : 

Documents for transport CAI n° 1234567– Invoice 0000000000 of 06.04.2022 - AAA1001 - L ORO PARIS CO LTD 12F

 

and in return i want to have only : 1234567 - AAA1001

Do you have any ideas how to break the title and get only these 2 informations ?

 

Thank you,

Categories:
I have the same question (0)
  • Verified answer
    ScottShearer Profile Picture
    25,280 Most Valuable Professional on at

    @Georges 

    I am making the assumption that your strings will be formatted the same way each time.  Also, the dashes are not the same throughout - the first dash is different from the others.

    See my example below.  I could have combined everything into one Compose action/expression but that would have been hard to understand and really ugly...

    image.pngimage.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
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard