I've got a raw text string in the form:
http://www.site.com/abc/%3FSubscriptionId%3DAKIAI5N2ARPTHQHTRGMA%26creative%3D165953%26creative%3DB0058RECN6
有没有内置的实用程序来反转那些字符?
我正在使用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
尝试以下内容
var decodedString = System.Web.HttpUtility.UrlDecode("http://www.site.com/abc/%3FSubscriptionId%3DAKIAI5N2ARPTHQHTRGMA%26creative%3D165953%26creative%3DB0058RECN6");
HttpUtility.UrlDecode
方法可以帮您完成此操作。