Read text only not numbers from a file

Hello everyone, I have a text file
Mike 1200
John 350
Jen 1500
Tara 700
Michelle 2000
Kevin 500
Matt 450
Kim 200

i need to create two arrays, one should take names and the other one scores. When i create a loop, how to make the loop read only names not the numbers.
Thanks a lot.
Typically, you wouldn't make a loop to read only names and not numbers. You would make one loop that read both names and numbers and stored them in their respective arrays.
read 1st Name and store this name
read 1st number and do nothing
read 2nd Name and ... etc.
Topic archived. No new replies allowed.