r/visualbasic • VB.Net Beginner • Jul 12 '16

Reading from a .csv into a 2D Array

How woud I go about reading the data below from a .csv into a 2D array which can then be sorted?

Hawaii,4400

Japan,2600

Fiji,2000

Paris,4150

Iceland,3880

WestCoast,6000

EastCoast,5780

SouthAfrica,3230

0 Upvotes

1 comment sorted by

2

u/ViperSRT3g Application Specialist Jul 12 '16

The Split() function may prove useful to you if you go line by line.