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 Apps / How to extract text be...
Power Apps
Answered

How to extract text between delimiters after second occurence

(0) ShareShare
ReportReport
Posted on by 130

Hi Powerapps community,

 

I have a text label with text : 

First:8000,Second:5000,Third:6000,Fourth:7000,Fifth:4000,Sixth:9000

I want to extract out only number values. I used the split function to extract out the first number value (8000) in a text label.

I want to extract other number values after 8000 i.e 5000,6000,7000,4000 and 9000 in text labels.

Any help would be highly appreciated.

Thanks,

R

Categories:
I have the same question (0)
  • Verified answer
    rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @r_voyager 

     

    you can do the following assuming your Text = varMulDelm:

    First number: With({_Place:First(Split(varMulDelm,",")).Result}, Right(_Place,Len(_Place)-Find(":",_Place)))

    Second: With({_Place:Last(FirstN(Split(varMulDelm,","),2)).Result}, Right(_Place,Len(_Place)-Find(":",_Place)))

    Third: With({_Place:Last(FirstN(Split(varMulDelm,","),3)).Result}, Right(_Place,Len(_Place)-Find(":",_Place)))

    Fourth: With({_Place:Last(FirstN(Split(varMulDelm,","),4)).Result}, Right(_Place,Len(_Place)-Find(":",_Place)))

    Fifth: With({_Place:Last(FirstN(Split(varMulDelm,","),5)).Result}, Right(_Place,Len(_Place)-Find(":",_Place)))

    Sixth: With({_Place:Last(FirstN(Split(varMulDelm,","),6)).Result}, Right(_Place,Len(_Place)-Find(":",_Place)))

     

    Hope it helps,

    R

  • r_voyager Profile Picture
    130 on at

    Thanks a lot @rubin_boer. Really appreciate your help.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 316 Most Valuable Professional

#2
11manish Profile Picture

11manish 242

#3
Valantis Profile Picture

Valantis 198

Last 30 days Overall leaderboard