title: Converting CSV File Into 2D Array
body: <p>I have an example of my idea in a 1d array. It will only output the columns.
  My idea is to use a 2d array to select the row and column.
  Here my code:</p>
  
  <pre><code>String fName = "c:\\csv\\myfile.csv";
  String thisLine; 
  int count=0; 
  FileInputStream fis = new FileInputStream(fName);
  DataInputStream myInput = new DataInputStream(fis);
  int i=0; 
  
  while ((thisLine = myInput.readLine()) != null) {
       String strar[] = thisLine.split(";");
       out.println(strar[1]); // Here column 2
  }
  </code></pre>
  
  <p>myfile.csv</p>
  
  <pre><code>Id;name
  E1;Tim
  A1;Tom
  </code></pre>
  
  <p>Output:</p>
  
  <blockquote>
    <p>name Tim Tom</p>
  </blockquote>