cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chakritti
Frequent Visitor

power automate replace single quote with space

trying the below function two replace single quote(') with space("")

 

replace(variables('Testcomments'),"'","")

 

not working.Any suggestions please?

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @chakritti,

Please modify you formula as below:

replace(variables('Testcomments'),'''','') // Replace the single quote with nothing

vqiaqimsft_1-1629264824713.png

 

vqiaqimsft_0-1629264797118.png

Further, if you want to leave space for the place where you put the single quote, you should use ' ', there should be a space between the single quotes:

replace(variables('Testcomments'),'''',' ')//Replace the single quotes with a space

And if you want a space to replace instead, you could get as below:

vqiaqimsft_2-1629264894163.png

Use the above formula according to your real needs

Best Regards,
Qi

View solution in original post

2 REPLIES 2
v-qiaqi-msft
Community Support
Community Support

Hi @chakritti,

Please modify you formula as below:

replace(variables('Testcomments'),'''','') // Replace the single quote with nothing

vqiaqimsft_1-1629264824713.png

 

vqiaqimsft_0-1629264797118.png

Further, if you want to leave space for the place where you put the single quote, you should use ' ', there should be a space between the single quotes:

replace(variables('Testcomments'),'''',' ')//Replace the single quotes with a space

And if you want a space to replace instead, you could get as below:

vqiaqimsft_2-1629264894163.png

Use the above formula according to your real needs

Best Regards,
Qi

View solution in original post

chakritti
Frequent Visitor

It Works Thank You

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,336)