I have a multiline textbox that constantly gets updated. I need to read only the last word/sentence in the textbox.
string lastLine = textBox1.ReadLine.Last(
You can extract the last line from any string as follows:
string str = ....;
string[] lines = str.Split('\n', '\r');
string last_line = lines[lines.Length - 1];
To get the last line of a TextBox you can use:
string[] lines = textBox1.Text.Split('\n', '\r');
string last_line = lines[lines.Length - 1];