Im looking for an elgant way to solve this problem...i havn't actually sat down and tried it yet...just wondering if anyone might have run into this or feels like explaining it.

I want to read in a name and a list of numbers from a text file.
The amount of numbers can be 0 to whatever on the second

bob raymond
23 45 67 78
rick scnider
67 45
pat mack

tommy man
12 45 67 89
thats what it would look like in the file. Off hand I cant think of a nice compact loop that will read up those numbers...or read in 0 if theres no numbers. The best I can think of is to read the whole line in and parse it as a string...I'm thinking that there must be an easier way. So if anyone has a tip, great...