How do I Remove the Enclosing Single Quotes from a String?
<p>I have an email address enclosed in <strong>single</strong> quotes:</p>

<pre><code>$email = "'test@email.com'";
</code></pre>

<p>I want to remove the single quotes to obtain:</p>

<pre><code>$email = "test@email.com";
</code></pre>

<p>I think <code>test@email.com</code> itself may also contain single quotes if I am not wrong. Is there a neat solution for this?</p>
