temp+=temp.Replace(chr(13),"<br>"); - MSDN Forums
temp = temp.Replace("" + (char)13, "
");
temp = temp.Replace("" + (char)0x0D, "
");
temp = temp.Replace(((char)0x0D).ToString(), "
");
//I'd use this: temp = temp.Replace("\r", "
");The latter looks far easiest.
1 comment:
thanks for posting.
string prodescout = prodesc.Replace("" + (char)146, "'");
Post a Comment