hello everyone,

i have a richtextbox that accepts input text that wil normaly look like this:
1 name1
33 name2
66 name3
374 name4
19 name5
230 name6
25 name7
6 name8
what i need done is i need to read line one then separate the number and then separate the name. then i need to add the number var to the numbervar array i also need to do that to the namevar. the namevar and numbervar must match up so that if namevar(1)=33 then numbervar(1)=name2. i think i can handle the arrays i just need to know how to read every line separately in the richtextbox. thank you all for your help.