arrun
11-20-2012, 05:17 AM
Dear all, I have an array of strings, like:
dim StringArray(5) as string
StringArray(1) = "a"
StringArray(2) = "b"
StringArray(3) = "c"
StringArray(4) = "d"
StringArray(5) = "e"
here the array length (in present case, which is '5') is basically a variable. Now what I want is to add all the array elements and put them as: "a, b, c, d, e".
Is there any direct way to achieve that?
Thanks and regards,
dim StringArray(5) as string
StringArray(1) = "a"
StringArray(2) = "b"
StringArray(3) = "c"
StringArray(4) = "d"
StringArray(5) = "e"
here the array length (in present case, which is '5') is basically a variable. Now what I want is to add all the array elements and put them as: "a, b, c, d, e".
Is there any direct way to achieve that?
Thanks and regards,