- Home /
Removing "\n" via text.Replace("\n",""); Whats wrong?
I have a string that I create at one point and this string contains the \n characters to break the line. But I need to use that same string later without the \n characters.
text = text.Replace("\n","");
does not appear to be working.
Any ideas?
Comment
Your answer
