2) Tokenize the string (retrieved from the input file) into an array.
-Tokenizing the string can separate the text into words, if the set the delimiter to ' ' (space)
-You could store the individual words in a string array.
-Be aware that this is a C function.
-More info here: http://www.cplusplus.com/reference/clibrary/cstring/strtok/
3) Write the tokenized string to file (omitting which ever words you want).