How to use JavaScript to parse a string with <markup> symbols
<p>I have a string </p>

<pre><code>strdata = "&lt;mymarkup&gt;&lt;P&gt;Hello world!&lt;/P&gt;"
</code></pre>

<p>in an array. So for <code>strata[1][1]</code> that contains the above value. How can I detect the <code>&lt;</code> characters with the substring function?</p>

<p>For example:</p>

<pre><code>if (strata[1][1].substring(0,9) = "&lt;mymarkup&gt;") { 
  // etc...
</code></pre>
