字符串操作:统计个数. 怎么知道字符串"1,2,3,4,5,6"有几个“,”号呢? Dim r As New System.Text.RegularExpressions.Regex( " , " ) Dim count As Integer = r.Matches( " 1,2,3,4,5,6 " ).Count 这是从各地方学来的,继续完善中.请各位支持,多回复几个方法,供大家学习.谢谢.