Dim lst As String
Dim Names As New List(Of String)
Lst =DataTables("表A").GetComboListString("第一列")
Dim c() As Char = {"|",vbcrlf}
For Each s1 As String In Lst.split(c)
If Names.Indexof(s1) = -1 Then
Names.Add(s1)
End If
Next
Lst = String.Join("|", Names.ToArray).Trim("|")
Output.Show(Lst)