URL Encoding for GET (replace space by %20 and more)

All, I’m sending some data to a webserver using GET.
When there is a space in the URL, I have to use ReplaceAll from space to %20.
Does a command exist to handle this kind of encoding? I think I will also have to replace other characters like !, =, &, …
If no command would exist, does someone have a list of characters that need to be replaced?



If you create a dictionary of post data then you can use EncodeFormData to build the query string:


Thanks Bob.

Or if you’re not using a dictionary http://documentation.xojo.com/index.php/EncodeURLComponent

DOH! I thought that was there but couldn’t find it.