(E-Mail Removed) wrote:
> I assume i'll need to read new line characters from the textbox.text
> string, and replace them with some token ?
The easiest way I can see of doing that for this particular exercise,
is applying the .Replace() method to the string value of the textbox.
e.g.
string textBoxValue = textBox1.Text.Replace(Environment.NewLine,
"TOKEN");
Where TOKEN is the token you're using to represent it in the single
line, and Environment.NewLine is a constant representing whatever a
newline is in the current environment, as different platforms have
different ways of representing this.