I have a c# app that sometimes has to work with strings like:
"example\x27s string"
How do I decode that? I know 27 is the ascii code for a single quote '
, but UrlDecode()
wont work on that string.
Should I replace the \x value with % and then use System.Web.HttpUtility.UrlDecode()
or is there another way to do it?