SyntaxFix
Write A Post
Hire A Developer
Questions
You can also try this for the double quotes:
JSON.stringify(sDemoString).slice(1, -1); JSON.stringify('my string with "quotes"').slice(1, -1);