Getting a substring in C#?
<p>This is a simple newbie question.  I could probably figure this out using some complicated method of string like substring and other methods but I was wondering if there is a better way to do this.</p>

<p>Say I have a string in C#:</p>

<pre><code>string foo = "&amp;deg;F";
</code></pre>

<p>What is best way to break that into two different strings where I have "deg" and "F"?</p>

<p>I see what was happening.   stackflow was interpreting the HTML.    It is actually (ampersand)deg(semicolon)F.</p>

<p>Sorry folks it was late when I posted that last night.</p>
