将他连成了字符串,格式如下:str=1###0###1***2###1###1_1***3###1###1_2***4###2###1_1_1***5###2###1_1_2***6###4###1_1_1_1***7###6###1_1_1_1_1
然后用先用arrresult=split(str,"***")将str分到数组中,接着再对arrresult数组的每条数据用arrtmp=split(arrresult(i),"###")来把他分到数组。
代码如下:
dim myarry()
arrresult=split(str,"***")
for i=0 to ubound(arrresult)
arrtmp=split(arrresult(i),"###")
for j=0 to ubound(arrtmp)
redim myarry(ubound(arrresult),ubound(arrtmp))
myarry(i,j)=arrtmp(j)
response.write myarry(i,j)&"<br>"
next
next
当我再
for k=0 to ubound(myarry,1)
response.write myarry(k,1)&"<br>"
next
想来显视时,怎么数组中的数据就没有了呢?
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!