I have a program that I want to pull data out of a multi-line text box. Each line of the text box contains some numbers.

I want to be able to read the text in the text box one line at a time, evaluate it and place the results into a second text box.

For example if the text box contains:
' this is the exact format of the text in the textbox.
0100
110
101
10

In my program 0100 will equal blue, 110 will equal orange, 10 will equal red and 101 will equal brown. So when I hit a button I want the second text box to print:

blue
orange
brown
red.

Any suggestions?
twicel