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

compare text that contains simple quote

Hi everyone,

 

With the function "get items", i want to get some datas in a sharepoint list as you can see below

 

Capture.PNG

 

It work's perfectly when my variable "indicateur" doesn't have any simple quote -> '   

But if there is a simple quote inside, it doesn't work.

For example, with these chains :

  • Taux d'appels
  • Taux d'impayés

I searched on forums and and I found theses solutions : 

I tried to use a \ before the simple quote. I tried to use two simples quotes -> '' 

Both didn't work Smiley Sad 

Someone knows a solution ?

 

Thanks for reading,

Sorry for my bad english

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: compare text that contains simple quote

HI @toms_pi,

 

Could you please share a screenshot of your flow's configuration?

 

I have made a test and the issue is confirmed on my side. The simple quote (') could not be wrapped within a single quotes (''), the single quotation mark is the only way to wrap string literals, if there is a simple quote (') within the single quotes, it would cause conflicts.

 

I afraid that there is no way to achieve your needs in Microsoft Flow currently, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

More details about the single quotation mark operator, please check the following article:

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language#operators

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: compare text that contains simple quote

HI @toms_pi,

 

Could you please share a screenshot of your flow's configuration?

 

I have made a test and the issue is confirmed on my side. The simple quote (') could not be wrapped within a single quotes (''), the single quotation mark is the only way to wrap string literals, if there is a simple quote (') within the single quotes, it would cause conflicts.

 

I afraid that there is no way to achieve your needs in Microsoft Flow currently, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

More details about the single quotation mark operator, please check the following article:

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language#operators

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
toms_pi
Level: Powered On

Re: compare text that contains simple quote

Ok... That's what I thought Smiley Sad

I'm going to rename my indicators (literals without simple quote) ! 

Thanks a lot for your time !! Smiley Wink

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Users Online
Currently online: 165 members 4,714 guests
Please welcome our newest community members: