URLDecoder()

语法

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

参数

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

返回值

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.

示例

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

参阅

URLEncoder()

已支持操作系统

所有

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