urlencode

Description:

Encode a string to make it safe for use in URLs.

Input:

String to encode.

Return:

The encoded string.