dim getstr'接收输入值dim aa=0dim str="第一中学,**中学,……,NN中学"getstr = request("ss")arrstr=split(str,",")for i=0 to ubound(arrstr) if getstr=arrstr(i) then exit fora=a+1nextif a>=ubound(arrstr) thenresponse.write("输入的内容不在指定范围")end if
限止输入字符