sQuerystring = Mid(sQuerystring,9)
sParts = Split(sQuerystring, vbLf)
iParts = UBound(sParts) - 1
ReDim sResults(iParts, 1)
For i = 0 To iParts
aParts = Split(sParts(i), "=")
sKey = aParts(0)
sValue = aParts(1)
sResults(i, 0) = sKey
sResults(i, 1) = sValue
sParts = Split(sQuerystring, vbLf)
iParts = UBound(sParts) - 1
ReDim sResults(iParts, 1)
For i = 0 To iParts
aParts = Split(sParts(i), "=")
sKey = aParts(0)
sValue = aParts(1)
sResults(i, 0) = sKey
sResults(i, 1) = sValue
string[] sParts;
string[] aParts;
string sKey = "";
string sValue = "";
string[][] sResults;
int iParts;
sQuerystring = sQuerystring.Substring(9);
sParts = System.Text.RegularExpressions.Regex.Split(sQuerystring, "\r\n");
iParts = sParts.Length - 1;
sResults = new string[iParts+1][];
for (int i = 0; i < iParts; i++)
{
aParts = sParts[i].Split('=');
sKey = aParts[0];
sValue = aParts[1];
sResults[i] = new string[] { sKey, sValue };
}
string[] sParts = sQuerystring.Split('\r');
int iParts = sParts.Length -1 ;string[,] sResults = new string[iParts,1];
for(int i=0;i<=iParts;i++)
{
string[] aParts = sParts[i].Split('=');
sResults[i,0]=aParts[0];
sResults[i,1]=aParts[1];
}
mc_gross=0.10 address_status=unconfirmed payer_id=ZD3EG2CYHVCRS tax=0.00 address_street=53th-55th+diaole+street+shuitou+town+Pingyang%0D%0A53th-55th+kanglin+street+shuitou+town+Pingyang payment_date=22%3A25%3A04+Mar+20%2C+2007+PDT payment_status=Completed charset=gb2312 address_zip=325000 first_name=bai mc_fee=0.10 address_country_code=C2 address_name=bai+zhi+yuan custom= payer_status=verified business=weblt%40163.com address_country=China address_city=wen+zhou quantity=1 payer_email=gamehock%40163.com txn_id=6BD64254BS927722D payment_type=instant last_name=zhi+yuan address_state=zhe+jiang receiver_email=weblt%40163.com payment_fee=0.10 receiver_id=UFY98BPBZDDZQ txn_type=web_accept item_name=100 mc_currency=USD item_number=EQ22007321132412203 residence_country=C2 payment_gross=0.10 shipping=0.00是要把这个值分别给
sKey sValue 比如sKey=item_number
svalue=EQ22007321132412203