Ok i have made a picture ;)
That will explain it a lil better.
I just need to add that certain code ***|*** to textbox2.text
but * can be 1 2 3 4 5 6 7 8 9
button2_click: if textbox1.text.contains("***|***")
then ...
Picture:
http://imageshack.us/photo/my-images/43/naamlooses.jpg/