Mega Code Archive

 
Categories / VB.Net Tutorial / Data Type
 

Join string

Imports System.Collections public class Test    public Shared Sub Main                Dim s() As String = {"one", "two", "three"}              'a string array                Dim s2 As String                s2 = s2.Join(", ", s)                Console.WriteLine(s2)    End Sub End class one, two, three