Click to See Complete Forum and Search --> : ArrayList


danasegarane
March 28th, 2007, 06:32 AM
Dear All,
How to join the array list contents with a separator into a new string

Dana

DSJ
March 28th, 2007, 09:59 AM
Use the StringBuilder class, loop thru the list and append each item to the stringbuilder.

aniskhan
March 29th, 2007, 06:56 AM
Using Join method of String Class.
String.Join(";", MyArray)
String.Join(";", MyArrayList.ToArray(GetType(String)))