#include <string.h>
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
char ptr[]={ "abcdefghijklmnopqrstuvwxyz "};
char *p,*str= "m";
p=ptr;
printf( "%s/n ",strsep(&p,str));
printf( "%s/n ",p);
str= "s";
printf( "%s/n ",strsep(&p,str));
printf( "%s/n ",p);
return 0;
}
abcdefghijkl
nopqrstuvwxyz
nopqr
tuvwxyz