Group: microsoft.public.scripting.vbscript
From: "McKirahan"
Date: Tuesday, October 23, 2007 7:58 AM
Subject: Re: Reading the + in Querystring

"Simon Gare" wrote in message
news:#WDrByWFIHA.3980@TK2MSFTNGP03.phx.gbl...
> Hi All,
>
> I have a querystring that contains the + sign as a separator, I need to
read
> these values individually in a select statement, for example.
>
> &text=Single+205
>
> where single is the type of room somebody wants and 205 is the user ID in
> the Customer table.

Querystrings are appended to a URL starting with a "?"
and consist (usually) of name=value pairs seperated by "&".

First use q1 = Split(qs,"&") to seperate each pair
then use q2 = Split(q1,"=") to seperate name from value
then use q3 = Split(q2,"+") to seperate what you want.