最新下载
热门教程
- 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;
相关文章
- 忘川风华录屈原怎么养成 屈原培养攻略 09-17
- 鹅鸭杀模仿者怎么玩 模仿者玩法介绍 09-17
- 物华弥新职员考评怎么过 新职员考评攻略 09-17
- 三国望神州支线小沛收复战役怎么打 支线小沛收复战役打法攻略 09-17
- 失控进化沙洲地区怎么玩 沙洲地区开局教学 09-17
- 地下城堡4第16章旧都怎么打 第16章旧都打法攻略 09-17