Hi
One example:
Dim mystring As String = "123-12345-12"
Dim sp() As String = Split(mystring, "-"c)
' the array now holds the substrings
' sp(0) = 123 (string value)
' sp(1) = 12345
' sp(2) = 12
'OR, using first string
Dim incoming As String = "AB123456789A123 123-12345-12 ABC: 12"
Dim sp() As String = Split(incoming.Split(" "c)(1), "-"c)
' the array now holds the substrings
' sp(0) = 123 (string value)
' sp(1) = 12345
' sp(2) = 12