I am trying to get some code in Visual Basic to display on two lines. Here is my code below,
Dim v_names As String()
Dim v_nums As String()
Dim v_list As String
v_names = Me.PN_ComboBox.SelectedValue.Split(":")(3).Split(";")
v_nums = Me.PN_ComboBox.SelectedValue.Split(":")(4).Split(";")
v_list = ""
For i = 0 To (v_names.Length - 1)
v_list = v_list & v_nums(i) & ":" & v_names(i)
Next i
Me.Vnumber_Label.Text = v_list
Currently it is displaying as:
123: bill:456: bob
I would like it to display as:
123: bill
456: bob
Any suggestions?