|
-
March 28th, 2007, 06:32 AM
#1
ArrayList
Dear All,
How to join the array list contents with a separator into a new string
Dana
VS 2005
-
March 28th, 2007, 09:59 AM
#2
Re: ArrayList
Use the StringBuilder class, loop thru the list and append each item to the stringbuilder.
-
March 29th, 2007, 06:56 AM
#3
Re: ArrayList
Using Join method of String Class.
Code:
String.Join(";", MyArray)
Code:
String.Join(";", MyArrayList.ToArray(GetType(String)))
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|