Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 03, 2012 03:42 AM by panesofglass
Member
730 Points
237 Posts
Apr 27, 2012 08:46 PM|LINK
The simplest way to do this is to use the best method available in .NET for encoding URIs: Uri.EscapeDataString.
> System.Uri.EscapeDataString("https://api.test.com");; val it : string = "https%3A%2F%2Fapi.test.com"
See also.
May 03, 2012 03:42 AM|LINK
Did my answer help? I'm curious if it doesn't work, as it appeared to do exactly what you needed.
panesofglass
Member
730 Points
237 Posts
Re: How to have the Uppercase Encoding for the string?
Apr 27, 2012 08:46 PM|LINK
The simplest way to do this is to use the best method available in .NET for encoding URIs: Uri.EscapeDataString.
> System.Uri.EscapeDataString("https://api.test.com");; val it : string = "https%3A%2F%2Fapi.test.com"See also.
panesofglass
Member
730 Points
237 Posts
Re: How to have the Uppercase Encoding for the string?
May 03, 2012 03:42 AM|LINK
Did my answer help? I'm curious if it doesn't work, as it appeared to do exactly what you needed.