URLDecoder()
Syntax
Result$ = URLDecoder(URL$)Description
Returns a decoded URL$ which has been encoded with the HTTP format.
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.purebasic.com/test%20with%20space.php3") ; Will print "http://www.purebasic.com/test with space.php3"To encode an URL, use URLEncoder()
This command can be very useful to convert a URL when writing a CGI program.
Supported OS
All