tekst file reading and writing

  • Thread starter Thread starter Gazi
  • Start date Start date
G

Gazi

Hi,

I have the following problem:
I want to read from a file at a specific line and column position and write
this back in an another file at some other line and column position.

I am not sure which object to use and if this is possible.

Could someone please help?

Gazi
 
Hi
Use the ReadLine() method that many number of tiems to get to the
required line and then manually go to the required position in the line.

Regards
Benny
 
Hello,

Gazi said:
I have the following problem:
I want to read from a file at a specific line and column
position and write this back in an another file at some
other line and column position.

Have a look at the 'StreamReader' and 'StreamWriter' class.

Regards,
Herfried K. Wagner
 
Back
Top