CGI_UrlDecodeString
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > CGI > CGI_UrlDecodeString |
Description
Decode a string from a URL encoded format.
Syntax
s = CGI_URLDecodeString(sText)
Returns
Return a string value.
The quoted string.
Parameters
Name |
Type |
Optional |
Meaning |
sText |
String |
No |
The string to decode |
Remarks
Url encode is like %xx where xx it's a hexadecimal character code.
Restrictions
See also
CGI_RemoveQuote, CGI_AddSpecialCharsPrefix, CGI_RemoveSpecialCharsPrefix
Examples
echo("result: " + CGI_UrlDecodeString("%48%65%6C%6C%6F %57%6F%72%6C%64"))
'result: Hello World