| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 542 人关注过本帖
标题:[求助] 请教一个编程问题
取消只看楼主 加入收藏
gahetgidt
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2007-11-6
收藏
 问题点数:0 回复次数:0 
[求助] 请教一个编程问题
以下代码中,我有一个地方不大明白,希望能得到大家的帮助,给我解释以下,谢谢了。

Function CheckStr(str)
'函数作用:过滤危险字符
str = Replace(str,"javascript","javascript")
str = Replace(str,"!","")
str = Replace(str,"]","")
str = Replace(str,"[","")
str = Replace(str,")","")
str = Replace(str,"(","")
str = Replace(str," ","")
str = Replace(str,"/","")
str = Replace(str,"+","")
str = Replace(str,"=","")
str = Replace(str,",","")
str = Replace(str,"'","")
CheckStr = str
End Function

在这段代码中,”CheckStr = str“,起到了个什么作用,具体是什么意思,希望大家能给我讲解下,谢谢了。

搜索更多相关主题的帖子: str javascript 
2007-11-06 19:24
快速回复:[求助] 请教一个编程问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.031545 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved