Decode a string to URL - Node.js String

Node.js examples for String:URL String

Description

Decode a string to URL

Demo Code

function urldecode(str) {
  return decodeURIComponent(str.replace(/\+/g, '%20'));
}

// if ($.browser.msie == true) document.execCommand('BackgroundImageCache', false, true);

Related Tutorials