How to assign a line containing double quotes to a string variable in Java?
<p>Sorry if this is a dumb question. Here is my problem. I have a String variable a. I need to assign the following line to a:</p>

<pre><code>&lt;td align="center" width="20%" &gt;&lt;a href="/listen/asid/
</code></pre>

<p>But when I use the following syntax:</p>

<pre><code>a="&lt;td align="center" width="20%" &gt;&lt;a href="/listen/asid/"
</code></pre>

<p>it doesn't work as Java confuses the double quotes inside the line for the start and end double quotes. How can I correctly do this? Thanks.</p>
