建站代码网

热门标签

删除指定数组元素

set Rsu=conn.execute("select * from goods")
str=RsU("product")
str=split(str,"|||") ’
tstr=""
for i = 0 to ubound(str)
  if instr(str(i),"备用")<=0 then
     if tstr<>"" then     
tstr=tstr & "|||" & str(i)
     else
tstr=str(i)
     end if
  end if
 
next
 
 response.Write tstr
 response.End()
X