28,406
社区成员
发帖
与我相关
我的任务
分享dim ok:ok = "|1,2009-10-12 11:57|2,2009-10-12 11:57|3,2009-10-12 11:57|4,2009-10-12 11:57|5,2009-10-12 11:57|6,2009-10-12 12:57|7,2009-10-12 12:57|8,2009-10-12 12:57|9,2009-10-12 12:57|ok"
dim no:no = "|1,2009-10-12 11:57|2,2009-10-12 11:57|3,2009-10-12 11:57|4,2009-10-12 11:57|5,2009-10-12 11:57|6,2009-10-12 12:57|7,2009-10-12 12:57|8,2009-10-12 12:57"
function checkorder(data)
dim arr,i
arr = split(data,"|")
if arr(ubound(arr)) = "ok" then
for i=0 to ubound(arr)-1
response.write arr(i) & " <br />"
next
else
response.write arr(ubound(arr))
end if
end function
response.write checkorder(ok)dim ok:ok = "|1,2009-10-12 11:57|2,2009-10-12 11:57|3,2009-10-12 11:57|4,2009-10-12 11:57|5,2009-10-12 11:57|6,2009-10-12 12:57|7,2009-10-12 12:57|8,2009-10-12 12:57|9,2009-10-12 12:57|ok"
dim no:no = "|1,2009-10-12 11:57|2,2009-10-12 11:57|3,2009-10-12 11:57|4,2009-10-12 11:57|5,2009-10-12 11:57|6,2009-10-12 12:57|7,2009-10-12 12:57|8,2009-10-12 12:57"
function checkorder(data)
dim arr,i
arr = split(data,"|")
if arr(ubound(arr)) = "ok" then
for i=0 to ubound(arr)-1
response.write arr(i) & " <br />"
next
else
response.write arr(ubound(arr))
end if
end function
response.write checkorder(no)