title: Find a complete word in a string java
body: <p>I am writing a piece of code in which i have to find only complete words for example if i have </p>
  
  <pre><code>String str = "today is tuesday";
  </code></pre>
  
  <p>and I'm searching for "t" then I should not find any word. </p>
  
  <p>Can anybody tell how can I write such a program in java?</p>