Quote:
Originally Posted by edon1337
Delete the line and write a new one at it's place?
|
It doesn't work that way. It will only work provided the the new and old lines have the same length. As I said, files are streams, they can only be appended to or overwritten, you can't insert in the middle or delete content.
__________________