Dear All,
How to join the array list contents with a separator into a new string
Dana
Printable View
Dear All,
How to join the array list contents with a separator into a new string
Dana
Use the StringBuilder class, loop thru the list and append each item to the stringbuilder.
Using Join method of String Class.
Code:String.Join(";", MyArray)
Code:String.Join(";", MyArrayList.ToArray(GetType(String)))