I am working on a project where I need to select the file name from a URL and put it into a data table column before updating it back into spreadsheet. The issue is the filename from the URL has certain ASCII characters like %20%26 in between the file name. I want to change these ascii characters to normal characters without disturbing the file name.
For e.g
String from URL : ABC%20%26PQR%20XYZ.pdf
Intented output : ABC &PQR_XYZ.pdf
I have tried using System.Web.HttpUtility.htmldecode(string) but this isn’t working for me.