hi everyone...im trying to write a program to read a text file where the first line has two words and the rest of it is a passage.the program needs to replace every occurance of the first word with the second word... this is what i have so far.. its working about 90% correct but the spacing and fullstops are off...any help would be greatly appreciated