I have a text file with the following in it:
name1:0|0|0|0|0|
name2:0|0|0|0|0|
... etc
I'm importing the names into an array of Strings.
That's fine, however I can't think of a clean way to associate the numbers with the array item. The numbers are separated by a "pipe" '|' character
Ideally I'd like to call a method which returns an array of Integers when given the name i.e. something like public int[] getScores(String name)