streamreader question

  • Thread starter Thread starter Stefano Mostarda
  • Start date Start date
S

Stefano Mostarda

Hi there,

I have a question.

I have a streamreader and I have to write another file with it. Before
passing data from reader to writer I have to change some charachter.

I have to change the value of Hexadecimal values c2 to space.

How can I achieve this?

Thanks in advance,
Stefano Mostarda MCP
Rome Italy
 
Then create a new writer, and read to a buffer, replace, and write.

Optionally, you might be able to ReadToEnd(), and then call replace on that
string, and write it out. Probably not the best performance, but simple.

-mike
MVP
 
Back
Top