字符串转换成数组,去最号的分割号 string[] idArr = id.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);