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 / Delete a specific Text...
Power Apps
Unanswered

Delete a specific Text from a String in powerapps

(0) ShareShare
ReportReport
Posted on by 12

I want to delete a part of string label1 (which is in a gallery) and get the result in the same label without having to create a new label to see the result I found that the "Substitute" function is only usable with the use of the "Set function"; Set(myVar;Substitute(Label25.Text; "a"; "b") and that forces me to retrieve the result in another label which takes as  text "myVar".

 

 

Categories:
  • subsguts Profile Picture
    1,259 Moderator on at

    Hi, I believe the problem is you have a circular reference.  Because you are in the Label25 control and you are trying to reference the Text property of it.  I don't believe there is a way to make this work.

    SuperUsers, feel free to tell me this isn't true 🙂

  • irada Profile Picture
    12 on at

    I want to use the substitute function in the "OnUncheck" property of a Checkbox and

    when I uncheck checkbox1 the Checkbox1.Text  have to be removed from "ThisItem.address" 

  • irada Profile Picture
    12 on at

    I want to use the substitute function in the "OnUncheck" property of a Checkbox and

    when I uncheck checkbox1 the Checkbox1.Text  have to be removed from "ThisItem.address" 

     

  • subsguts Profile Picture
    1,259 Moderator on at

    I'm confused because in your original question you said " I want to delete a part of string label1 ".  So can you restate in great detail what functionality you are trying to get working.  Thanks

  • irada Profile Picture
    12 on at

    I want to use the substitute function or another function in the "OnUncheck" property of a Checkbox and

    when I uncheck checkbox1 the Checkbox1.Text  have to be removed from "ThisItem.address" (the checkbox and the ThisItem.address are in the same gallery) .Thanks

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard