I have this
string test = HttpUtility.HtmlDecode("http://test.com/Folder1/Folder2/my%20view.aspx");
When I look into test it still has %20 instead of a space. Why is it not decoding this?
You are looking for HttpUtility.UrlDecode()
(in the System.Web namespace, I think)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With