I use fopen() and fgets() to read from a file line by line. I would like to extract the string in between, for example:
"00:12:11" is the part I need to extract, any idea how I should go about it?
I can't use strstr() because the time changes in every line and I tried using strtok() but the result is not what I want.
Any help is appreciated, thanks.