Store First & Second Character value in two different veritable : <p>I wish to store First &amp; Second character of value in two different variable <code>id</code> with <code>ccMain</code>.Using jquery or Javascript.</p>

<p>Here is the html code I have to set up the environment:</p>

<pre><code>&lt;span id="ccMain"&gt;GM&lt;/span&gt;
</code></pre>
