Hi, I want to write (insert) some text in existing text file, after some character from the text file. For example, to write text from text box after 50-th character in my text file. I use file stream, stream reader and stream writer.
thanks
Loading
DozdPosted Jun 29, 2009, 5:27 PM
I think the problem with solution that you suggest is limitation of int type. If we have sting which contain more characters then integer could accept - so we need double - then we can not use substring method (it has integer for argument).
I made solution using lines instant of characters, but the idea was to use characters.
If somebody has idea is good to be post.
Kirtan PatelPosted Jun 29, 2009, 6:12 AM