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 Apps / How to separate the Mi...
Power Apps
Unanswered

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. 

 

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
    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.😊👍 

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard