efficient way to find string with streamreader
<p>I get web response and use streamreader to obtain the response as a string</p>

<p>my code is</p>

<pre><code>HttpWebResponse response = (HttpWebResponse) request.GetResponse();
StreamReader reader = new StreamReader(response.GetResponseStream());
string strResponse = reader.ReadToEnd();
</code></pre>

<p>sample of string is</p>

<pre><code>&lt;div class="box-round"&gt;
&lt;ol  style="list-style-type: decimal;list-style-position:outside;margin-left:42px;"&gt;
&lt;li&gt;Order ID #A123456 already exists: Update performed
&lt;/ol&gt;
&lt;/div&gt;
</code></pre>

<p>or</p>

<pre><code>&lt;div class="box-round"&gt;
    &lt;ol  style="list-style-type: decimal;list-style-position:outside;margin-left:42px;"&gt;
    &lt;li&gt;New order created
    &lt;/ol&gt;
&lt;/div&gt;
</code></pre>

<p>I want to locate the following line within the string</p>

<pre><code>Order ID #A123456 already exists: Update performed
</code></pre>

<p>or</p>

<pre><code>New order created
</code></pre>

<p>Is this the best way to search for the line(s)</p>

<pre><code>  while (!reader.EndOfStream)
    {
        line = reader.ReadLine();
        if (!string.IsNullOrEmpty(line))
        {

        }
    }
</code></pre>
