日期:2014-05-16 浏览次数:21186 次
<%
dim vkey,arr,sql
vkey="AA,BB,CC"
arr=split(vkey,",")
sql=""
for i=0 to ubound(arr)
sql=sql & "or dtitle like '%"&arr(i)&"%' "
next
Response.write mid(sql,3) '输出 dtitle like '%AA%' or dtitle like '%BB%' or dtitle like '%CC%'
%>