web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : k6jq9OrRmMpVBWPiYMNLPD
Power Apps - Building Power Apps
Answered

Remove content of parenthesis in a string

Like (0) ShareShare
ReportReport
Posted on 21 Feb 2023 03:41:21 by 19

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.

 

  • Verified answer
    Kedet Profile Picture
    19 on 21 Feb 2023 at 14:12:08
    Re: Remove content of parenthesis in a string

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

  • Verified answer
    v-liwei-msft Profile Picture
    on 21 Feb 2023 at 06:17:28
    Re: Remove content of parenthesis in a string

    Hi @Kedet 

     

    Please try:

     

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

     

     

    Best Regards,

    Levi

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete