New line?

Oct 5, 2015 at 1:02 AM

Sorry if this question is dumb, but how SendCommand(string) returns a "new line"?

I've tried to append the returned string from SendCommand in a TextBox, replacing \n to \r\n, but without success.

Oct 5, 2015 at 11:52 AM
Did you set TextBox.MultiLine=true ?
Oct 5, 2015 at 4:31 PM
Yes! I was using a wrong regex. In fact, replacing "\n" to "\r\n" solves the problem.