"tshad" <tscheiderich@ftsolutions.com> schrieb:
> Is there an easy way to parse a string that is set up like a query string?
Quick and dirty:
\\\
Dim u As New Uri("http://www.example.org/index?a=bla&b=22312")
Dim w As New HttpRequest("", u.AbsoluteUri, Mid(u.Query, 2))
MsgBox(w.QueryString.Item("a"))
MsgBox(w.QueryString.Item("b"))
///

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
tshad - 20 Dec 2005 23:40 GMT
> "tshad" <tscheiderich@ftsolutions.com> schrieb:
>> Is there an easy way to parse a string that is set up like a query
[quoted text clipped - 8 lines]
> MsgBox(w.QueryString.Item("b"))
> ///
That works.
I was hoping to be able to just parse the query string part of it. But if I
add http://a in front of the string it works fine.
Thanks,
Tom