URL Encode

How do I URL Encode a string? Is there a built in function to do this?

Just found it. http://documentation.xojo.com/index.php/EncodeURLComponent