title: Check does url containt some word in C#?
body: <p>I have an URL that goes something like this <code>http://www.dev.example.com</code> and some URL that is like this <code>http://www.test.example.com</code>.</p>
  
  <p>I dont know where dev and test word would be, maybe on the end maybe, on beggining. What i need to do is to check does url has some word and do something , her is something i need </p>
  
  <pre><code>var test = "test";
  if (Request.Url.AbsoluteUri **have** test)
  {
     /// Do something
  }
  </code></pre>