How to add/remove text in between string(statement) using js?
<p>How to add/remove text in between string(statement) using js?</p>

<p>For example:</p>

<pre><code>var string =  "&lt;html&gt; &lt;/html&gt;"
</code></pre>

<p>Now, the string should contain </p>

<pre><code>&lt;html&gt; &lt;body&gt; &lt;/body&gt; &lt;/html&gt;
</code></pre>
