R
rahulthathoo
Hi
I want to write to a file - which already exits and has some
data in it. I dont want to erase that data. Say suppose it has 30
lines of text in it. I want to write something in the first line after
the first two words. How do i go about it. I know how to open a file
but I am not able to seek to the right position and not able to write
my text without deleting the entire data of the file but i dont want
that. Can you help me here.
Thanks
Rahul
I want to write to a file - which already exits and has some
data in it. I dont want to erase that data. Say suppose it has 30
lines of text in it. I want to write something in the first line after
the first two words. How do i go about it. I know how to open a file
but I am not able to seek to the right position and not able to write
my text without deleting the entire data of the file but i dont want
that. Can you help me here.
Thanks
Rahul