I'm trying to add a new line in a RichTextBox using the following:
execSummary = execSummary.Replace(";", System.Environment.NewLine); //execSummary is a string
I'm trying to replace every semi-column with a new line when the user presses a button, but what happens is that the semi column will only disappear and have a white space instead.
Is there anyway I can add a new line using c#, or can I do it without coding?
What is weird, when I show the modified text in a message box it is showing as it should be! But not when I check the rich text box .... o.O
Thank you