Reputation: 18029
How can i get all the filnames in array as a string?
Dim paths As Array
Dim npaths As String
od.ShowDialog()
paths = od.FileNames
npaths = ArrayToDelimited(paths, ",")
Upvotes: 0
Views: 123
Reputation: 17875
You're looking for String.Join:
npaths = String.Join(",", paths)
Upvotes: 2