escaping quotes from strings using javascript?

后端 未结 3 1671
长发绾君心
长发绾君心 2021-01-29 09:50

For instance say I have the string:

var name = \'Mc\'Obrian\'

I want to be able to escape the the first quote and the last quote only, not the

3条回答
提交回复
热议问题