title: Splitting a string by value between quotation marks in Java
body: <p>I'm reading in a file in Java and want to split each line by the value inside quotation marks. For example, a line would be...</p>
  
  <p>"100","this, is","a","test"</p>
  
  <p>I would like the array to look like..</p>
  
  <pre><code>[0] = 100
  [1] = this, is
  [2] = a
  [3] = test
  </code></pre>
  
  <p>I normally split by comma, but since some of the fields include a comma (position 1 in the example above) it's not really suitable.</p>
  
  <p>Thanks.</p>