Module Tester
Sub Main()
Dim characterArray As Char()
Dim quotes As Char = ChrW(34)
Dim originalString, string1, string2, string3, string4 As String
characterArray = New Char() {"A"c, "B"c, "C"c, "D"c, "E"c, "F"c, " "c, "G"c, "H"c}
originalString = "test"
string1 = originalString
string2 = New String(characterArray)
string3 = New String(characterArray, 6, 3)
string4 = New String("C"c, 5)
Console.WriteLine(string1)
Console.WriteLine("string2 = " & string2 )
Console.WriteLine("string3 = " & string3 )
Console.WriteLine("string4 = " & string4 )
End Sub ' Main
End Module
test
string2 = ABCDEF GH
string3 = GH
string4 = CCCCC