urlparsequery(string)
Decode a URL query string into name/value pairs and return the result as a table.
The query string is assumed to be encoded using RFC3896 format. If the string contains a '?'
character, the urlparsequery function ignores all characters prior to the first '?'
character.
Examples
parms = urlparsequery('foo=this+is+foo&bar=23&sparta=This+is+Sparta!')
parms = urlparsequery('http://www.ibm.com/index.html?foo=bar')