用js怎么把amp;字符换成quot;amp;amp

2024-12-05 05:33:38
推荐回答(1个)
回答1:

var str="amp;";
var result=str.replace(str,"quot;amp;amp");