Hi,
Is there a way to write into the middle of a text file?
e.g.
Obj.txt
Apple
Train
Baby
Moon
To ->
Apple
Train
Baby Age 02
Moon
I was writing something like this
open file “Obj.txt”
seek in file “Obj.txt” to the beginning
repeat forever
read from “Obj.txt” until return
if it is empty then exit repeat
if it contains “Baby”
???
end if
end repeat
close file “Obj.txt”
What can I put in there that will replace the line with “Baby”?
Thanks,
Jason