Remove class second and add new class instead
<p>How can removed class <code>Second</code> and add new class <code>Third</code>?</p>

<p>I try as, but this don't work:</p>

<pre><code>&lt;div class="First Second"&gt;&lt;/div&gt;

$('div').removeClass().split(" ")[1].addClass('Third');
</code></pre>
