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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top