Edit Data in file and updating it to file

Hello,

Im trying to edit some of the data in a file, and updating new data into a same file. I was read the whole data into a memory, and edit it in memory. Instead of updating everything from the beginning, is there anyway to just only update on the line that i want to change?

thank you.
Topic archived. No new replies allowed.