URLEncode(Text text)
Encodes a URL string.
Parameters
- text
- The text to encode.
Returns
Text
Remarks
This function encodes the text so that it can be safely used in a URL by substituting special character combinations for certain reserved characters, such as '&' and '=', as well as space. The function is aware of international characters and escapes them using UTF-8, which most sites expect in the URL.
Examples
URLEncode("test@email.com")
returns the text value "test%40email.com".