How do I test in ASP if there is next element in a list?
I’m trying to do something like this:
a=Split("foo, boo, luu, bar", ",")
for each x in a
response.write("'" & x & "'")
if a.HasNext then
response.write(",")
end if
next
How does it works?
Thank you!
there’s no HasNext but you can test against the size of the array