heres what i want to do

read in a file, read in each line, if the line contains something, then modfy that line, save the text file

the thing i dont get it that i have to specify a length to read in, i dont know the length for each line, help?

thanks