最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
替换HTML代码
时间:2022-07-02 18:06:38 编辑:袖梨 来源:一聚教程网
将一些HTML替换掉
eg:
strContent=strContent.Replace("&","&");
strContent=strContent.Replace("'","''");
strContent=strContent.Replace("<","<");
strContent=strContent.Replace(">",">");
strContent=strContent.Replace("chr(60)","<");
strContent=strContent.Replace("chr(37)",">");
strContent=strContent.Replace(""",""");
strContent=strContent.Replace(";",";");
strContent=strContent.Replace(" ","
");
strContent=strContent.Replace(" "," ");
return strContent;
eg:
strContent=strContent.Replace("&","&");
strContent=strContent.Replace("'","''");
strContent=strContent.Replace("<","<");
strContent=strContent.Replace(">",">");
strContent=strContent.Replace("chr(60)","<");
strContent=strContent.Replace("chr(37)",">");
strContent=strContent.Replace(""",""");
strContent=strContent.Replace(";",";");
strContent=strContent.Replace(" ","
");
strContent=strContent.Replace(" "," ");
return strContent;
相关文章
- 植物大战僵尸杂交版火焰舞王僵尸怎么样 火焰舞王僵尸属性介绍 10-28
- 黑色四叶草魔法帝之道玛格纳怎么玩 玛格纳技能玩法介绍 10-28
- 二重螺旋调停委托任务怎么过关 调停委托任务过关攻略 10-28
- 二重螺旋图纸怎么获取 图纸获取攻略 10-28
- 辉烬旗帜任务怎么做 旗帜任务流程攻略 10-28
- 辉烬格洛克怎么配队 格洛克阵容搭配攻略 10-28