Help!
Im trying to overwrite a certain record in a text file (basically a log in log out file).
Im using Random Access File.
I tried to write the updated record using writeBytes but what happens is that it was APPENDED after the record i wish to overwrite.
from
150.20.111.0&2010062216:06:31
150.20.111.0&2010062216:07:01
150.20.111.0&2010062216:07:17
to
150.20.111.0&2010062216:06:31 <----- ( i need to overrwite this not append)
150.20.111.0&2010062216:06:31rewritten <------ (with this)
150.20.111.0&2010062216:07:01
150.20.111.0&2010062216:07:17
thanks a lot.