Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The URI module is used to escape and unescape strings to/from a URI acceptable format (replacing spaces with '%20' for example).

 

Escape

escaped = uri:escape("This is a test"); // Returns 'This%20is%20a%20test'

 

Unescape

 unescaped = uri:unescape("This%20is%20a%20test"); // Returns 'This is a test'
  • No labels