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

Desktop variable escaping the URL Encoded Percent Characters .i.e. %2F aka / (Forward Slash)

I was working with variables and found that it did not like URL Encoded Percent Characters .i.e. %2F aka / (Forward Slash) when I copied and pasted it, I am assuming this is b/c it is the wrapper for the variable in the Flow Designer, it was easy for me to fix (This time) replaced the characters with ascii values, BUT, was wondering if there is a way to escape the percent sign (and other special characters as needed) as in other languages like C# or JavaScript?

Use case that comes to mind is dynamic content, how do you scan and 'replace' the special characters and escape them???

As always, any and all help would be greatly appreciated, links, references, blogs, etc. are certainly welcome (Especially on this topic) and know I appreciate those who contribute and help guide me.


Stay safe.
Best Regards.
SG.

1 ACCEPTED SOLUTION

Accepted Solutions
fraenK
Memorable Member
Memorable Member

Usage and escaping is described here:

https://docs.microsoft.com/en-us/power-automate/desktop-flows/variable-manipulation

 

Occasionally, the percentage sign should be used as a simple character, instead of denoting a calculation. In those cases, it should be escaped using another percentage character (%%).

 

Replace text: https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/text#replace

View solution in original post

1 REPLY 1
fraenK
Memorable Member
Memorable Member

Usage and escaping is described here:

https://docs.microsoft.com/en-us/power-automate/desktop-flows/variable-manipulation

 

Occasionally, the percentage sign should be used as a simple character, instead of denoting a calculation. In those cases, it should be escaped using another percentage character (%%).

 

Replace text: https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/text#replace

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (9,685)