title: How to get string from several double quotes in a line?
body: <p>Basically, I need to get <code>a b c</code> (separately)</p>
  
  <p>from a line (with any amount of spaces between each "</p>
  
  <pre><code>"a" "b" "c"
  </code></pre>
  
  <p>Is it possible to do this using string.split?</p>
  
  <p>I've tried everything from <code>split(".*?\".*?")</code> to <code>("\\s*\"\\s*")</code>. </p>
  
  <p>The latter works, but it splits the data into every other index of the array (1, 3, 5) with the other ones being empty ""</p>
  
  <p><strong>Edit:</strong> </p>
  
  <p>I'd like for this to apply with any amount/variation of characters, not just a, b and c. (example: <code>"apple"     "pie"      "dog boy"</code>)</p>
  
  <p>Found a solution for my specific problem (might not be most efficient):</p>
  
  <pre><code>Scanner abc = new Scanner(System.in);
  for loop
  {
        input = abc.nextLine();
        Scanner in= new Scanner(input).useDelimiter("\\s*\"\\s*");
        assign to appropriate index in array using in.next();
        in.next(); to avoid the spaces
  }
  </code></pre>