title: Why cant I find the word n1 in my string using string.Contain C#?
body: <p>I am using C# and I have a string</p>
  
  <pre><code>string test = "255\r\n\r\n0\r\n\r\n-1\r\n\r\n255\r\n\r\n1\r";
  </code></pre>
  
  <p>This is the code I use to find n1 in my string.</p>
  
  <pre><code>if (test.Contains("n1"))
  {
     //do something
  
  }
  else
  {
    //do something else
  }
  </code></pre>
  
  <p>But it keeps going to the else statement when my string does contain n1, why is this and is there an alternative way to find n1 in my string?</p>