2 Replies Latest reply on Sep 9, 2009 8:37 PM by new2oop

    I have a string in URL encoded format. How do I unencode?

    new2oop

      I'm sure there is a single command for this but I can't find it, so my workaround is a long list of 'replace' commands :-(

       

                      vari = vari.replace(/%22/g,"'");
                      vari = vari.replace(/%20/g," ");
                      vari = vari.replace(/%3C/g,"<");

      etc.

       

      Help!!! How do I unencode  my URL encoded string?