Click to See Complete Forum and Search --> : Array To String


SubZane
05-18-2003, 11:02 AM
Is there a function in ASP/VB that converts an array to a delimited string?, like "string, string, string"

SubZane
05-18-2003, 01:57 PM
ok, but I have this Resultset and I do the following:

activities= RSa.getRows()
act = join(activities, ",")

and I get this error: Type mismatch: 'Join'

SubZane
05-19-2003, 01:53 AM
I just want to create a simple list like that, I was hoping that I didn't need to loop thru it myself. I'm quite disapointed in ASP. normal languages would understand that in a multidimensional array, Array(0) would return an array, but here it seems that they are pretend-arrays? :confused:

I solved my problem now however

for i=0 to ubound(arr, 2)
str = str + arr(0,i) & delimeter & " "
next

thanks for the help:)

SubZane
05-23-2003, 09:00 AM
ok, thank u