Url string to ascii

  • Thread starter Thread starter bg_ie
  • Start date Start date
B

bg_ie

Hi,

How can I convert:

Copy%20of%20File

to

Copy of File

I could use a regex but I'm unsure what other escapes exist for url
which might also catch me out. I'm thinking there is a function that
worries about this for me.

Thanks,

Barry
 
Hi,

How can I convert:

Copy%20of%20File

to

Copy of File

I could use a regex but I'm unsure what other escapes exist for url
which might also catch me out. I'm thinking there is a function that
worries about this for me.

Thanks,

Barry

Try this:

HttpUtility.UrlDecode("copy%20to%20me")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top