I have a multi line text box, i'd like to store the contents of this
textbox to a text file. However when I write the value of '
textbox.text ' to the file it is written verbatim spanning many lines
if enter has been pressed.
I'd like to store the value of the textbox on one single line in the
file. How do i do this?
I assume i'll need to read new line characters from the textbox.text
string, and replace them with some token ?
Is this how I'd do it, and if so can you suggest some sample code?
Thanks,
Gary.