URLEncode

Returns the specified URL with spaces replaced with %20 or fully encodes all non-alphanumeric characters.

URLEncode(1, 2, 3)

OrdinalTypeDescription
1stringRequiredString containing the URL and attribute value
2booleanValue indicating how function handles illegal URL characters. A value of 0 replaces space in URL with %20. A value of 1 encodes any illegal characters used in URL, such as spaces or accented letters, in the query string of the given URL. This parameter defaults to 0.
3booleanValue indicating how function encodes passed string values. A value of 0 encodes only portion of passed string following the ? character. A value of 1 encodes full passed string. This parameter defaults to 0.

System returns:

System returns:

System returns: