2016-10-03 115 views

回答

3

首先用逗號分隔字符串作爲分隔符,然後將該結果數組中的每個元素轉換爲整數。

Dim ints = Array.ConvertAll("1,2,5,8".Split(","c), AddressOf Convert.ToInt32)