title: Tokenize a string with a space in java
body: <p>I want to tokenize a string like this</p>
  
  <pre><code>String line = "a=b c='123 456' d=777 e='uij yyy'";
  </code></pre>
  
  <p>I cannot split based like this </p>
  
  <pre><code>String [] words = line.split(" ");
  </code></pre>
  
  <p>Any idea how can I split so that I get tokens like</p>
  
  <pre><code>a=b
  c='123 456'
  d=777
  e='uij yyy';  
  </code></pre>