且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从数字字符串中检索唯一值

更新时间:2023-02-23 08:53:55

Dim test As String = "12,32,12,32,12,12,32,15,16,15,14,12,32"
Dim uniqueList As String() = test.Split(New Char() {","c}).Distinct().ToArray()