Split a querystring into smaller parts
Hello ;) ,
I have started writing an ISAPI extension and i am stuck with querystring. The querystring get returned as a whole string, not split up.
I need to split querystring into params and values, like it is done in PERL. I dont know how to split a string by a & sign.
This is all i've got so far:
PHP Code:
char qStr[5];
int qLen;
//Get the query string part
strcpy(qStr,pECB->lpszQueryString);
//Attempt to convert string to a number (for later use)
qLen = atoi(qStr);
Is there an alternative to split() function in C++, like in Visual Basic?
Thanks for your help,