Writing to a particular position
From: lexicon (ekaralar_at_gmail.com)
Date: 03/03/05
- Next message: Vai2000: "DataColumn Expression Q"
- Previous message: Ed A: "Re: Boxing & UnBoxing access question"
- Next in thread: Ricky Lee: "Re: Writing to a particular position"
- Reply: Ricky Lee: "Re: Writing to a particular position"
- Messages sorted by: [ date ] [ thread ]
Date: 3 Mar 2005 11:54:03 -0800
Hello;
I have a text file. Assume that this file has some textual content. I
want to append a text into this file at a specific position; not to the
end of file. I assume that one way of doing this would be setting the
stream length, shifting the characters after the position + lengt to
the end, but this method seems inefficient to me. Another way might be,
storing the text content in an array and manipulating and writing this
array to the file, but this seems inefficient to me too.
Is there any way of doing this without the methods i thought about
above ? All ideas are appreciated, thank you very much...
- Next message: Vai2000: "DataColumn Expression Q"
- Previous message: Ed A: "Re: Boxing & UnBoxing access question"
- Next in thread: Ricky Lee: "Re: Writing to a particular position"
- Reply: Ricky Lee: "Re: Writing to a particular position"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|