源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

asp 过滤非法字符函数

  • 时间:2022-12-22 04:50 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:asp 过滤非法字符函数
<% Function cutbadchar(str) badstr="不|文|明|字|符|列|表|格|式" badword=split(badstr,"|") For i=0 to Ubound(badword) If instr(str,badword(i)) > 0 then str=Replace(str,badword(i),"***") End If Next cutbadchar=str End Function Response.Write cutbadchar("中国不阿斗发射点发明") %>
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部