I am looking for the best option for important a CSV into a 2d array of strings. I will discuss the whole assignment at the bottom, however, I am not looking for straight code copy or the specific answer to the whole thing.

I am looking for how to import and separate each item from the CSV. the first portion of the CSV is a string (some name) and I wish to store this string into an array of strings.

I then want to take the other entries (all ints) and put them into another 2d array.

position 0,0 on array 1 and position 0,0 on array two will all relate to the same name.

So my very specific direct question, how do I import a CSV file and use the comma as a delimiter to separate the info.

my initial though was a bit stream or something like that, but, that makes it difficult to deal with the initial string. A link or suggestions into the preferred method for this would be good. Generic code is ok too if accompanied with an explanation so I can implement my own.

Once I have a solid place to start (research) I will follow up with another post if I get stuck anywhere.

Thanks in advance.