title: Splitting by Tabs in Java
body: <p>I have a file scanned line by line into an ArrayList. 
  I then create a new ArrayList in which I want to temporarily store that line into so that I may access certain values.</p>
  
  <p>Ex. IDname(tab)IDnumber(tab)vote(tab)date</p>
  
  <p>So, I create the temporary ArrayList named voteSubmission, and I go through every String in the fileRead array.</p>
  
  <p><strong>Why is it that I get the error incompatible type for my split method?</strong> </p>
  
  <pre><code>ArrayList&lt;String&gt; voteSubmission = new ArrayList&lt;String&gt;(); 
  for(String x : fileRead)
  {
  voteSubmission =  x.split("\t");
  }
  </code></pre>