The UrlEncode() function makes a text compatible to be used as an URL.
UrlEncode()
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a new text where each special character in text is URL escaped. Returns Invalid expression if the parameter is not a text.
text
Invalid expression
UrlEncode(
)
UrlEncode("\"Line 1\"\n'Line 2'") => "%22Line+1%22%0a%27Line+2%27"
UrlEncode("\"Line 1\"\n'Line 2'")