I have two text files text1.txt and text2.dat
Text1.txt contains data which i would like to manipulate and then write the modifications to text2.dat
How do I read line for line in text1.txt modify the string and than write it line for line to text2.dat? Do not worry about the the modification bit, I know how to do that. I am only interested in the reading and wrting part.