Hello Expert,
Please provide some guidance on the expression that will work here.
Basically, I capture something in the compose action - something like -> ["SharePoint", "Microsoft Teams"]
The content inside the brackets may contain one or more elements (it depends)
I am using this expression
replace(replace(string(outputs('Compose_4')),'[',''),']','')
But it only replaces the bracket NOT the commas
I need help to get an expression that remove bracket as well as commas, regardless the number of element inside the bracket.
Hi @AshishJaiswal ,
I don't see any comma. You initial problem was "But it only replaces the bracket NOT the commas", correct?
@AshishJaiswal Use one more replace()
replace(replace(replace(string(outputs('Compose_4')),'[',''),']',''),'"','')
Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.
Hello @VictorIvanidze
I added a picture in the post, No worries I will added it again
Used this expression -
replace(replace(string(outputs('Compose_4')),'[',''),']','')
I need guidance to remove bracket and inverted commas both at the same time
Show what you want to get after handling ["SharePoint", "Microsoft Teams"]
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional