替换HTML代码

Ainy幸福

Ainy幸福

2016-01-29 13:20

替换HTML代码,替换HTML代码

将一些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("n","
");
strContent=strContent.Replace(" "," ");
return strContent;
展开更多 50%)
分享

猜你喜欢

替换HTML代码

电脑网络
替换HTML代码

完美替换html代码

Web开发
完美替换html代码

s8lol主宰符文怎么配

英雄联盟 网络游戏
s8lol主宰符文怎么配

HTML代码简介(1)

Web开发
HTML代码简介(1)

HTML代码简介(2)

Web开发
HTML代码简介(2)

lol偷钱流符文搭配推荐

英雄联盟 网络游戏
lol偷钱流符文搭配推荐

HTML代码简介(3)

Web开发
HTML代码简介(3)

提高HTML代码的效率

PHP
提高HTML代码的效率

lolAD刺客新符文搭配推荐

英雄联盟
lolAD刺客新符文搭配推荐

PHP新手上路(六)

PHP新手上路(六)

session全教程(二)

session全教程(二)
下拉加载更多内容 ↓