S
scott_hutter
Given the following:
string x = System.Text.Encoding.Default.GetString(buffer);
x = x.Replace("\r\n", "\r");
If the buffer contains 13 and 10 (2 bytes), can someone please tell me
why the second line cant find and replace? \r\n is supposed to be
equivalent to 13,10 arent they? Im trying to strip out the newline (10)
character.
string x = System.Text.Encoding.Default.GetString(buffer);
x = x.Replace("\r\n", "\r");
If the buffer contains 13 and 10 (2 bytes), can someone please tell me
why the second line cant find and replace? \r\n is supposed to be
equivalent to 13,10 arent they? Im trying to strip out the newline (10)
character.