Get a range of textbox1 lines and add them to textbox2

  • Thread starter Thread starter Kevin993
  • Start date Start date
K

Kevin993

Guest
I have 2 textboxs (multiline = true)

Textbox1 has some lines with strings in them , Textbox2 is empty

I need to get lines in specific range from textbox1 to textbox2.

Look at this picture :

1441591.jpg

This is content of textbox1. It has 14 lines. The 2 lines which are highlighted as red are start and end points of the desired range of lines to be added to textbox2 (not always the same lines. Program should search for strings "EENN" and "FFNN" and mark them as start and end points of the range). Then after identifying the range's start and end points , program should add the lines of green area to textbox2.

So textbox2 should now have 6 lines like :

a

b

c

d

e

f

Continue reading...
 
Back
Top