How to URL an encode string

I want to URL encode a string. How to do this ??

I tried system.web.httputility.urlencode(URL)

But this function cause error.

https://forum.uipath.com/t/httputility-is-not-a-member-function-of-web-error-in-url-encode-decode/172943/19

Is there any otherway in UiPath to for URL encode ?

Thanks
@Rajv2e12609 @aberenguer @debo2696

Hi @Tech_Guru
Use strvar=System.Web.HttpUtility.UrlEncode(“https://www.google.com”)

Thanks
ashwin S

1 Like