ns_parsequery - Parse a URL query string into an ns_set
This command parses the specified querystring into an ns_set, which is returned. The keys and values will be decoded based by the rules used for ns_urlencode.
% set s [ns_parsequery "msg=Hello+World%21&a=b&a=b&c=d"] d0
% ns_set array $s
msg {Hello World!} a b a b c d