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 / Split label on exact c...
Power Apps
Answered

Split label on exact character

(0) ShareShare
ReportReport
Posted on by 117

Hi, Im trying to split a label on an exact character. The character exists within a word. I want to split this label on the T so that I get the value in front of the T.

Da9_0-1699275600005.png

 

 

Categories:
  • Verified answer
    Hassan_SZ_365 Profile Picture
    542 on at

    Hi,

    To split the label at the character "T" and retrieve the value in front of it, you can use the Left and Find functions together in Power Apps. Here's a short and simple explanation of how you could write the formula:

    Assuming the text is in a label named Label1, the formula to extract the date part before the "T" would be:

     

    Left(Label1.Text, Find("T", Label1.Text) - 1)

     

    This will give you the substring from the start of the label's text up to (but not including) the "T" character.

     

    Best Regards,

    Hassan Raza

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard