By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,361 Members | 1,955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,361 IT Pros & Developers. It's quick & easy.

How do I get rid of that '@' symbol from a string? I am using FileStream.WriteByte

P: n/a
How do I get rid of that '@' symbol from a string?
I am tyring to use FileStream.WriteByte but it does not like it. I don't
want to write that '@' symbol to the file either.

s = @"c:\text1.txt"

bytes = Encoding.UTF8.GetBytes(s);

fs.Write(bytes, 0, bytes.Length);
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Never mind,
the problem was else where, WriteByte can handle it.
"Dan V." <da**@yah.com> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...
How do I get rid of that '@' symbol from a string?
I am tyring to use FileStream.WriteByte but it does not like it. I don't
want to write that '@' symbol to the file either.

s = @"c:\text1.txt"

bytes = Encoding.UTF8.GetBytes(s);

fs.Write(bytes, 0, bytes.Length);

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.