urlEncode

This topic describes the syntax and usage of the urlEncode function in Zoho Creator .

Description

The urlEncode encryption task encrypts any given url.

Syntax

encodedUrl =  zoho.encryption.urlEncode("<url>");

The urlEncode function syntax has the following arguments.

URL to be encoded - Required. The URL to be encoded, for example, "http://www.zoho.com/creator"

Example

Following is an example of the usability of urlEncode function.

encodedUrl =  zoho.encryption.urlEncode("http://www.zoho.com/creator");

Response returned

Returns the encoded url

http%3A%2F%2Fwww.zoho.com%2Fcreator