Read each line in a comma separated file into an array

In this example we read the lines of a comma separated file and split the values into an array.
This is done fairly easily with the split() method, which takes a separator as an argument and returns
an array of Strings.

Search for more Java info on this site here:
Custom Search

Please type any questions here.