title: How to split string in Java on whitespace?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/225337/how-do-i-split-a-string-with-any-whitespace-chars-as-delimiters">How do I split a string with any whitespace chars as delimiters?</a>  </p>
  </blockquote>
  
  
  
  <p>Yes, I tried to search it on google and stackoverflow, but no good results. I have a string, lets say: "Lets do some coding in Java" and I would like to got strings (split it on whitespaces):</p>
  
  <p>Lets, do, some, coding, in, Java</p>
  
  <p>I used <code>string.split("\\s")</code> for this, but know I need to use regex instead. Any ideas?</p>