My string is \"A,B,C,D,E\" And the separator is \",\" How can I get the remaining string after doing strtok() once, that is \"B,C,D,E\"
char a[] = \"A,B,
printf("a: %s\n", a+1+strlen(b));
Try this