ASP中Split分割字符串函数的实例用法 |
本文标签:Split,分割字符串 ASP中Split函数的用法 复制代码 代码如下: mystr="1,2,3,4,5" mystr=split(mystr,",") for i=0 to ubound(mystr) response.write mystr(i) next 返回值为123456 mystr="xlei.net/http/student/x/index.asp" mystr="1批在2批在3批在4批是在5批在"
参数 描述 设置 引用来自 asp端验证是否包含非法字符 复制代码 代码如下: username=replace(trim(request.form("username")),"","") password=replace(trim(request.form("password")),"","") if instr(username,"%") or instr(username,"#") or instr(username,"?") or instr(username,"|") then |