日期:2014-05-16 浏览次数:21031 次
<%
dim a:a="2,3,1,4"
dim b:b="5,4,6,1"
dim aArray:aArray=split(a,",")
dim bArray:bArray=split(b,",")
for i=1 to ubound(aArray)
for j=1 to ubound(bArray)
if aArray(i) = bArray(j) then
response.write aArray(i)&":在a中的位置是"&i&",b中的位置是"&j&"<br/>"
end if
next
next
%>