Edit

URLEncode (text [, optDelim])

Return type:  text

Definition:  Returns a URL-encoded version of the supplied text. Specifically, any non-alphanumeric characters are converted to %xx

In MoneyWorks 9 and later, you can supply an optional single-byte delimiter to use as a hex delimiter instead of the default %. E.g. for encoding mail body content for SMTP you would use URLEncode(body, "=")

Example:  alert("api.php?arg=" + URLEncode("2016/12/15")) displays "api.php?arg=2016%2f12%2f15"

See Also:

Base64Decode: String from a base64 encoding

Base64Encode: Base64 of a string

Curl_Close: Finish with a CURL session

Curl_Exec: Execute a CURL session

Curl_GetInfo: Get information about a CURL transfer

Curl_Init: Start a CURL session

Curl_StrError: Get an error message from a CURL object