urlEncode

urlEncode()

Overview

The urlEncode() function takes a text as an argument, and returns it after encoding it.

Note: The difference between this function and encodeUrl() function is that this function returns the space character as %20, and encodeUrl() function returns the space character as +.

Return Type

  • Text

Syntax

<variable> = zoho.encryption.urlEncode( <string> );
ParameterDescriptionData type
<variable>Variable which will contain the returned value.TEXT
<string>

The text to be encoded.

Except TEXT, all other data types will return null. 

TEXT

Examples

urlString = zoho.encryption.urlEncode("https://www.zoho.com/creator");
// returns "http%3A%2F%2Fwww.zoho.com%2Fcreator"

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com