title: Split string at commas
body: <p>I have some strings in Java, which look like the following: </p>
  
  <pre><code>    String s = ""Aac 1Zl Aachen",,DE,5048.850N,00611.483E,189.0m,1,,,,"AACHEN""
  </code></pre>
  
  <p>I wanna split the string at every comma and assign the splitted values to an array. But i couldn't figure out how to keep the empty values between the multiple commas, which should be null. </p>
  
  <p>The resulting array should look like this: </p>
  
  <pre><code>    array[0] = ""Aac 1Zl Aachen""
      array[1] = null
      array[2] = "DE"
      array[3] = "5048.850N"
      array[4] = "00611.483E"
      array[5] = "189.0m"
      array[6] = "1"
      array[7] = null
      array[8] = null
      array[9] = null
      array[10] = ""AACHEN""
  </code></pre>