title: How to ignorecase when using string.text.contains?
body: <p>I am trying to figure out how to check if a string contains another while ignoring case using .text.contains.</p>
  
  <p>As it stands right now If I do this:</p>
  
  <pre><code> Dim myhousestring As String = "My house is cold"
      If txt.Text.Contains(myhousestring) Then
      Messagebox.Show("Found it")
      End If
  </code></pre>
  
  <p>It will only return a match if it is the exact same case. So if the user typed "my house is cold", it would not be a match. </p>
  
  <p>How can I do this? If it is not possible I could probably just use regex instead with ignorecase. Any help would be appreciated.</p>