getline in CLR

If I have a textbox1 with the text:

This is line one
This is line two
This is line three


what would be the syntax for:
textBox2->Text = Line-Two-Of-TextBox1
You need to extract the text: http://msdn.microsoft.com/en-us/library/bb775460%28v=vs.85%29.aspx#setting_and_retrieving_text

Then you need to pick out line 2.

Then set the processed text in textBox2. http://msdn.microsoft.com/en-us/library/ms633546%28v=vs.85%29.aspx
Topic archived. No new replies allowed.