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 / Replace/Substitute all...
Power Apps
Answered

Replace/Substitute all values in a Collection Column

(0) ShareShare
ReportReport
Posted on by 204

Hi Guys,

 

I want to find and replace a string in all rows in a particular column.

 

For example replace the string "be" with "" for all values in column "Task".

Tried the below code although doesn't work.

 

UpdateIf(Col,
"be" in Task,
{Task: Substitute( "Task", "be", "" ))}
)

 

Any help is greatly appreciated.

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @christian12 

     

    Please modify your formula to:

    UpdateIf(Col,
    "be" in Task,
    {Task: Substitute(Task, "be", "" )}
    )

     

    Best Regards,

    Levi

  • christian12 Profile Picture
    204 on at

    @v-liwei-msft thanks. 

     

    Just wanted to confirm that this function is available and thats the correct formula structure. I will give it a try and hopefully i get the correct results.

     

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,070

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 608

Last 30 days Overall leaderboard