SyntaxFix
Write A Post
Hire A Developer
Questions
A one liner for the lazy people
var str = '"a string"'; str = str.replace(/^"|"$/g, '');