H
headware
I have some multiline textboxes in a page and I'd like to turn the
newlines into spaces. I tried using something like this:
text = text.Replace(Environment.NewLine, " ");
but it wasn't finding the newlines. I had to do
text = text.Replace("\n", " ");
What's going on here?
Dave
newlines into spaces. I tried using something like this:
text = text.Replace(Environment.NewLine, " ");
but it wasn't finding the newlines. I had to do
text = text.Replace("\n", " ");
What's going on here?
Dave