I've got a raw text string in the form:
http://www.site.com/abc/%3FSubscriptionId%3DAKIAI5N2ARPTHQHTRGMA%26creative%3D165953%26creative%3DB0058RECN6
Are there any built in utilities to unescape those characters?
I'm using ASP.NET MVC 3
I've got a raw text string in the form:
http://www.site.com/abc/%3FSubscriptionId%3DAKIAI5N2ARPTHQHTRGMA%26creative%3D165953%26creative%3DB0058RECN6
Are there any built in utilities to unescape those characters?
I'm using ASP.NET MVC 3
Try this below
var decodedString = System.Web.HttpUtility.UrlDecode("http://www.site.com/abc/%3FSubscriptionId%3DAKIAI5N2ARPTHQHTRGMA%26creative%3D165953%26creative%3DB0058RECN6");
The HttpUtility.UrlDecode
method should do it for you.