title: Java String.split("\\s+")
body: <p>I am trying to parse some output. The output is as follows:</p>
  
  <p><code>raidz1-0  ONLINE       0     0     0</code></p>
  
  <p>My code is as follows:</p>
  
  <pre><code>String line = "\traidz1-0  ONLINE       0     0     0";
  String[] tokens = line.split("\\s+");
  </code></pre>
  
  <p>tokens ends up being <code>{"raidz1-0", "ONLINE", "0"}</code></p>
  
  <p>For some reason the last 2 zeros are discarded. I would like to retain the zeros, please tell me how.</p>