Dim str As String = TextBox.Text; Dim arr As String() = str.Split(New Char() {"-"}) Dim i As Integer For i = 0 To arr.Length - 1 ListBox1.Items.Add(arr(i)) Next i
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)