title: str.split("\\s+") Not working as expected
body: <p>I am reading a line Like <code>2222 1555 777</code></p>
  
  <p>have:</p>
  
  <pre><code>String[] splitDist = line.split("\\s+");
  for (int i = 0; i&lt; splitDist.length; i++){
       System.out.println(i);
  }
  </code></pre>
  
  <p><code>i</code> never changes. Any reason as to why? Thoughts?</p>
  
  <p>I am expecting an array like <code>["2222","1555","777"]</code></p>
  
  <p>but  it is one string <code>["22221555777"]</code> so <code>i</code> will be 0</p>
  
  <p>EDIT: Not Sure as to why this is happening... Thank you all for trying, something is wrong here. this one thing just gives Just odd behavior...</p>