How do I add text into the middle of a text file ?
I was trying to do it via textstream, but OpenAsTextStream would only allow ForReading only, ForWriting only, or ForAppending only.
I need to look for certain occurences in the text file and replace it with other text. For that I would need to read and write on the same file which TextStream does not allow.
Any ideas ?
I was trying to do it via textstream, but OpenAsTextStream would only allow ForReading only, ForWriting only, or ForAppending only.
I need to look for certain occurences in the text file and replace it with other text. For that I would need to read and write on the same file which TextStream does not allow.
Any ideas ?