title: Get only Whole Words from a .Contains() statement
body: <p>I've used .Contains() to find if a sentence contains a specific word however I found something weird:</p>
  <p>I wanted to find if the word &quot;hi&quot; was present in a sentence which are as follows:</p>
  <blockquote>
  <p>The child wanted to play in the mud</p>
  <p>Hi there</p>
  <p>Hector had a hip problem</p>
  </blockquote>
  <pre><code>if(sentence.contains(&quot;hi&quot;))
  {
     //
  }
  </code></pre>
  <p>I only want the SECOND sentence to be filtered however all 3 gets filtered since CHILD has a 'hi' in it and hip has a 'hi' in it. How do I use the .Contains() such that only whole words get picked out?</p>