Connecting him to a string, the format is as follows: str=1## #0 # # #1 ***2## #1 # #1_1 ***3## #1 # # ***4## #1_2 # # #2 ***5## #1_1_1 # #2 ***6## #1_1_2 # # #4 ***7# # #6 # # #1_1_1_1_1
The STR is then divided into the array using Arrresult=split (str, "* * *"), and then each data of the Arrresult array is divided into an array using Arrtmp=split (Arrresult (i), "###").
The code is as follows:
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
When I
For k=0 to UBound (myarry,1)
Response. Write Myarry (k,1) & "<br>"
Next
When you want to see it, how come the data in the array is gone?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service