Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Confusing about Encode/Decode and Quote/Unqote String Object

Sophos84Sophos84 Members Posts: 24 ✭✭


Iam confused about the Encode/Decode and Quote/Unqote methods of the String class. For what are these methods? In wich context do Iam need them? I have read the documentation but they are insufficient for me. Has anyone a better explanation for me?


Best Answer


  • dane22dane22 Members, Plex Pass, Plex Ninja Posts: 9,714 Plex Ninja


    If you are about to construct an url, that contains extended characters, like æøå, then encode it, and you can use it in an url
    Decode is the reverse


    Same as above, but this time for characters that are treated special in an url, like & and ?

    See this:


Sign In or Register to comment.