I have
var content='<td>
<table>
<tr>
<td>
some_html_code
</td>
<td>
another_html
</td>
</tr>
</table>
</td>'
How to remove <td> at beginning and </td> in the end?
You could simpley
slice()to obtain a copy of a portion of a string.