#include <string.h>
#include <stdio.h>
constchar *Delim = "/";
int main () {
char Entry [256];
char *Match;
gets (Entry);
Match = strtok (Entry, Delim);
// Each time around Match will be the tokenized string excluding delimiter
do {
Match = strtok ( NULL, Delim);
} while ( Match );
return 0;
}