You can have the program that will input the file and read the whole content. You should then save them in string array. All the String related methods will help you.
You will need many temp...