title: Using OpenCSV to write in a column instead of row
body: <p>I have a 1 dimension array  <code>String[]</code> that I want to write to a CSV file, and then view in a spreadsheet program such as Excel. However, the size/length of this array is too big to fit in the number of allowed columns, but is small enough to fit in the number of allowed rows.</p>
  
  <p>So, how do I write column-wise instead of row-wise?</p>
  
  <p>The current code that I'm using:</p>
  
  <pre><code>import au.com.bytecode.opencsv.CSVWriter;
  
  public class test {
      public static void main(String[] args) [
          CSVWriter writer2 = new CSVWriter(new FileWriter("testing.csv"), '\t');
  
          String[] string = new String[10];
          for(int i = 0; i &lt; 10; i++) {
              string[i] = "Testing";
          }
  
          writer2.writeNext(string); //  !!EXPORTS AS ROW AND NOT A COLUMN!! //
          writer2.close();
  
  
  
  
      }
  }
  </code></pre>