Hello
char **pOutData; /* Output results */
char *ptoken
I have a pointer which contains the following
hdjhasdjkhasd;stephenjohnson;647823463;dhasdjhaj
I want to work through and get out just stephenjohnson
I have the following so far, which does not work....any help?
for ( size = 0; size < b2b_data_drill_nNoSelect; size++ )
{
if (size == 1 )
{
ptoken = strtok(pOutData, ";" );
while( ptoken != NULL )
{
printf ("Results 2nd:%s\n", pOutData[size] );
printf ("ptoken:%s\n", ptoken );
ptoken = strtok(NULL, ";" );
}
}
}