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 / Remove content of pare...
Power Apps
Answered

Remove content of parenthesis in a string

(0) ShareShare
ReportReport
Posted on by 31

Hi All,

I need help in removing the content of a parenthesis from string.

 

My app is pulling from a SP list and one of the column is a person picker field which is also multi-select. I am displaying the content of the person picker field in my gallery with a label(Label1) using the function: Concat(ThisItem.Employeename, Displayname, "; ")

 

This function concatenates the names of selected employee and separates with a semicolon. 

The issue is that some employees has pronouns appended to their names. For example the value of Label1 could be: John Doe (he/him/his); Mary Kal(she/her/hers)

It can also be: John Doe (he/him/his); Bob Stone

 

I will like to remove the pronouns so that all names appears without the pronouns and the parenthesis. I only want the names separated with a semicolon but couldn't get that to work.

 

Kindly help.

 

Categories:
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Kedet 

     

    Please try:

     

    Concat(ForAll(Split(Concat(ThisItem.Employeename,DisplayName,"; "),";"),First(Split(ThisRecord.Result,"("))),Result,";")

     

     

    Best Regards,

    Levi

  • Verified answer
    Kedet Profile Picture
    31 on at

    @v-liwei-msft It works perfectly, thanks so much!

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 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard