URLDecoder()

Syntax

Result$ = URLDecoder(URL$)
Description
Returns a decoded URL$ which has been encoded with the HTTP format.

Parameters

URL$ The URL to decode. To encode an URL, use URLEncoder().

Return value

Returns the decoded URL.

Remarks

A URL$ may not contain certain characters such as: tab, space, accent letter etc., therefore these characters must be encoded, which basically involves using "%" as an escape character. If the URL$ is not in an encoded format, this function will have no effect on the given "URL$" and the return-value of that "URL$" will remain unchanged.

Example

  Debug URLDecoder("http://www.spiderbasic.com/test%20with%20space.php3")
  ; Will print "http://www.spiderbasic.com/test with space.php3"

See Also

URLEncoder()

Supported OS

All

<- HTTPRequest() - Http Index - URLEncoder() ->