PDA

View Full Version : Size of array after using Split?


Darksbane
08-26-2002, 11:01 AM
Is there any way to determine the size of the array produced when you use the Split() function?

glenngv
08-26-2002, 11:12 AM
ubound(arrayName) returns the size of the array.

you can loop thru the array in two ways:

for each item in arrayName
response.write item & "<br>"
next

or

for i=0 to ubound(arrayName)-1
response.write arrayName(i) & "<br>"
next