title: Java String's split method ignores empty substrings
body: <p>It occured to me today the behavior of java <code>String.split()</code> is very strange.</p>
  
  <p>Actually I want to split a string <code>"aa,bb,cc,dd,,,ee"</code> to array by <code>.split(",")</code> that gives me a String array <code>["aa","bb","cc","dd","","","ee"]</code> of length 7.</p>
  
  <p>But when I try to split a String <code>"aa,bb,cc,dd,,,,"</code> to array this gives me a array of length 4 means only <code>["aa","bb","cc","dd"]</code> rejecting all next blank Strings.</p>
  
  <p>I want a procedure that splits a String like <code>"aa,bb,cc,dd,,,,"</code> to array <code>["aa","bb","cc","dd","","",""]</code>.</p>
  
  <p>Is this possible with java.lang.String api? Thanks in advance.</p>