I have a file that has the following layout
Data:\t (tab)serial
Should I use strtok to separate the Data:\t from the string I want or use something else?
Doesn't seem to work.Code:#define DELIM_2 "Data:\t" char *sep = strtok(filedata, DELIM_2); printf ("%s\n", sep);