Author Topic: Writing a file in a certain position  (Read 452 times)

I am making a script that like lets say, writes what ever i echo in a file in a certain position, how would i do that?

What do you mean by a certain position?

You can use openForAppend to write to the end of a file, otherwise you'll need to read each line and store them in variables, modify your "certain position" and then write each line back into the file using openForWrite