Trying to pull string data into single vairable using for next or do while in array
Thought about putting into array image, than doing split function. Have a counter set up to cnt number of files that was uploaded to file.
In this case cnt = 4. I want to make this dynamic as I have know idea how many images will be loaded. Want to control all data going into database.
strimage = Elaine.jpg , Elaine2.jpg , Elaine4.jpg , Elaine12.jpg
cnt = 4
imagear = strimage
for x = 0 to cnt - 1
a = Split(imagear, ",")
image(x) = a(x)
image(x+1) = a(x+1)
Any help here would be greatly appreciated.