you will have to make a int stringfind(char * srt, char * match_str) function, because C standard library doesn't have one afaik.
it should loop trough the given str and try to match 1st char of match_str.
if it matches, check next characters in the match, if they do not match, reset match_str index from the beginning.
if it matches for the whole length of match, return the position that you found the first char to be at.
if it still didn't match in the end, return 0.
once that is done, get the position of first and second word, add/substract length of the words from the positions, and pick everything in between.