title: What is the best way to extract the first word from a string in Java?
body: <p>Trying to write a short method so that I can parse a string and extract the first word. I have been looking for the best way to do this.</p>
  
  <p>I assume I would use <code>str.split(",")</code>, however I would like to grab just the first first word from a string, and save that in one variable, and and put the rest of the tokens in another variable.</p>
  
  <p>Is there a concise way of doing this?</p>