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 separate the Mi...
Power Apps
Answered

How to separate the Mid values from the Textinput?

(0) ShareShare
ReportReport
Posted on by 34

Hello,

Please see the below screenshot, 

I can get the First Split and Last Split values

How to get the other mid values from the Text Input. 

 

Split.jpg
Categories:
I have the same question (0)
  • Verified answer
    NPPlatform Profile Picture
    606 Moderator on at

    Am  I correct in assuming you want to retrieve "TAB11NEU00297"? You can do this by combining your Split-fuction with the FirstN and Last functions to access an item at a specific index. To get the 4th element from your textlabel you'd use

     

    Last(FirstN(Split(TextLabel.Text, " "), 4)).Value

    See the example below:

    NPPlatform_0-1697534690091.png

     

    Does this help?

  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anandhavalli ,

     

    If you want to get the middle text between the first and last values of the text which is split by space, you can do this:

     

    Concat(Filter(Split(Text," "),Value<>First(Split(Text," ")).Value&&Value<>Last(Split(Text," ")).Value),Value," ")

     

    vmengmlimsft_0-1697533211840.png

     

    Best regards,

    Rimmon Li

  • Verified answer
    Anandhavalli Profile Picture
    34 on at

    Dear @NPPlatform 

     

       Thank you, Your solution is working fine.😊👍 

    Screenshot_20231018_131446_Power Apps.jpg

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard