您当前的位置: 首页 >  html

替换HTML代码

发布时间:2004-10-26 19:23:00 ,浏览量:0

将一些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;

关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    108697博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.4643s