28,391
社区成员
发帖
与我相关
我的任务
分享
<%
dim a,b
a="12,13"
b="112,113,214,315,163,271,118,119"
d1=split(b,",")
c1=split(a,",")
for x=0 to ubound(d1)
for cc=0 to ubound(c1)
k=0
for m=1 to len(c1(cc))
c11=mid(c1(cc),m,1)
if instr(d1(x),c11)>0 then k=k+1
if k=2 then b=replace(b,d1(x),"")
next
next
next
if right(b,1)="," then b=left(b,len(b)-1)
d2=split(b,",")
for y=0 to ubound(d2)
if d2(y)<>"" then
str1=str1&d2(y)
if y < ubound(d2) then str1=str1&","
end if
next
response.write str1
%>