CString string= "http://home.microsoft.com?RID=Report1&Date=today";
int len = string.GetLength();
while(len>0)
{
int pos = string.Find("?");
if(pos>0)
{
int i =0;
CString URL = string.Mid(0, pos);
int pos2 = string.Find("=");
int pos3 = string.Find("&");
CString string2 = string.Mid(pos2, 8);


}
}

What I want is to find what is inbetween '=' & '&'. I can find "Report1" but than I can't find "today"

If someone can show me what I'm doing wrong...

Thank you