I am new at VB.net so please excuse me. Will this code work? If not would you correct it for me? I want to show each element in label I have created on a form.
Private Sub read835()
Dim isaLine As String
Dim elementSep, compositeSep, segmentSep As String
Dim x As Integer
Dim tmp() As String
isaLine = "ISA*00* *00* *27*00523 *ZZ*M4788 *040414*2351*U*00401*410500028*0*P*:~"
elementSep = isaLine.Substring(103, 1)
For x = 0 To isaLine.Length
tmp = Split(isaLine, "*")
lblMsg.Text = tmp(x)