Writing to Specific Locations in a text file

Hi,

How do I write to specific locations in a text file. For example I need to delete the characters from index x to index y.

Thanks,

Bruce



Answer this question

Writing to Specific Locations in a text file

  • Libor Vasa

    It's unfortunate that .NET 2.0 does not support memory mapped file... yet.
  • Rorro

    Hi,

    load the modified string into StringBuffer from the text file and re-write the file again.

     



  • Writing to Specific Locations in a text file