Question

Decode the Url

  • 21 February 2024
  • 1 reply
  • 53 views

Badge

Hi All, 

 

I want to decode the URL to plain text, is there a direct command using automation anywhere. 

 

example : 

encoded Url : https://edd.ca.gov/en/about_edd/employer_services_online/

Decoded Url :https%3A%2F%2Fedd.ca.gov%2Fen%2Fabout_edd%2Femployer_services_online%2F


1 reply

Userlevel 2
Badge +6

You can use Run JavaScript action to call required function:
 

function encodeUri(str) {
return encodeURI(str);
}

function decodeUri(encodedStr) {
return decodeURI(encodedStr);
}

 

Reply