Dim bgz As String = e.Form.Controls("TextBox25").text Dim bgjh As New List(Of String) Dim xhs,xhs1 As String bgjh.AddRange(bgz.Split(chr(10)&chr(13))) For Each xhs In bgjh Dim zljh As New List(Of String) zljh.AddRange(xhs.Split("|")) zljh.Remove("") MessageBox.Show(xhs) For Each xhs1 In zljh MessageBox.Show(xhs1) Next Next