URL.SetQuery (gb.web)
Static Function SetQuery ( URL As String, Field As String, Value As String ) As String
Set the value of a parameter inside a query, and return the new modified query.
If the
Field parameter does not exist it is added to the query.
Examples
Print URL.SetQuery("http://mysite.org/test", "a", "1")
http://mysite.org/test?a=1
Print URL.SetQuery("http://mysite.org/test?a=1", "b", "2")
http://mysite.org/test?a=1&b=2
Print URL.SetQuery("http://mysite.org/test?a=1&b=2", "a", "3")
http://mysite.org/test?b=2&a=3
Print URL.SetQuery("http://mysite.org/test?b=2&a=3", "b", "")
http://mysite.org/test?a=3&b