strsep - extract token from string
#include <string.h> char *strsep(char **stringp, const char *delim);