2012-01-21, 04:41 PM
If I want to convert a path (for example) to the escaped characters used in an HTTP url are there any easy conversion methods to do this in code rather than manually using 'replace' on strings?
For instance...
D:\folder\some filename.abc
would be passed as
D%3a%5cfolder%5csome+filename.abc
Any quick and easy way of doing that?
Cheers,
Brian
For instance...
D:\folder\some filename.abc
would be passed as
D%3a%5cfolder%5csome+filename.abc
Any quick and easy way of doing that?
Cheers,
Brian