Choose where you’d like to start



The encodeUrl() function takes urlExpression as an argument and encodes "all space characters" and other characters disallowed in a URL string, and returns the encoded string.

This function can be used in getURL(), postURL() and openURL() Deluge tasks to encode the URL params and then pass the encoded URL string.

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

Return Type

  • Text


<variable> = encodeUrl( <urlExpression> );
ParameterDescriptionData type
<variable>Variable which will contain the returned encoded url.TEXT
<string>The expression which will be encoded.TEXT


myURL = "";
​myEncodedURL = encodeUrl(myURL);


Get Started Now