Split strings into tokens. Format #include <string.h> char *strtok (char *s1, const char *s2); char *strtok_r (char *s, const char *sep, char **lasts);