Announcements
how to remove "[ ]" from "[Mithesh]", so that my output will be Mithesh . I can use two replace functions , can i use only one to replace 2?var1 = "[Mithesh]"
example: replace(variables('var1'),'"[','')
replace(variables('var1'),']"','')
Yeah, you can nest it. replace(replace(variables('var1',']',''),'[','')
still getting error.
Your variable isn't wrapped. Try this:
replace(replace(variables('BeneficiaryFirstName'),'"]',''),'"[',''))
That's my fault, I notice I missed it in my example.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 430
11manish 341 Super User 2026 Season 2
M Bilal Khan 282