Info | ||
---|---|---|
| ||
This library has not yet been ported to the New Pico Engine |
The URI module is used to escape and unescape strings to/from a URI acceptable format (replacing spaces with '%20' for example).
Escape
Code Block | ||
---|---|---|
| ||
escaped = uri:escape("This is a test"); // Returns 'This%20is%20a%20test' |
...
Unescape
Code Block | ||
---|---|---|
| ||
unescaped = uri:unescape("This%20is%20a%20test"); // Returns 'This is a test' |