cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
andrewr
Level: Powered On

escape quote

Hi all I need to remove a quote character from a filename i am writiging and I tried using the @replace however the issue I encoutnered is it uses single quotes as a dileneator.   How do I replace a single quote?  Does anyone know of a specific escape character I need to use?

 

 

this is what I had:

"@replace(outputs('filename'),''','')"

-Andrew

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: escape quote

Hi @andrewr,

 

You need to use @replace(outputs('subj'), '''', '')

 

So this is my flow. Email subject contains quotes. Remove the quotes and send email again.

 

e1.png

 

 

My Test Run

Send an email with subject contains quotes.

 

e2.png

 

My Test Run Results

Received the email without quotes.

 

e3.png

 

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



View solution in original post

1 REPLY 1
Super User
Super User

Re: escape quote

Hi @andrewr,

 

You need to use @replace(outputs('subj'), '''', '')

 

So this is my flow. Email subject contains quotes. Remove the quotes and send email again.

 

e1.png

 

 

My Test Run

Send an email with subject contains quotes.

 

e2.png

 

My Test Run Results

Received the email without quotes.

 

e3.png

 

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



View solution in original post

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,671)