|
-
July 19th, 1999, 02:36 PM
#1
Help I need help
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|