摘要:
1. public string[] Split(char[] separator, StringSplitOptions options)程序代码string[] split = words.Split(new Char[] { ',', '.' }, StringSplitOptions.RemoveEmptyEntries);//返回:{"1","2","3","4"} 不保留空元素string[] split = words.Split(new Char[] { ', 阅读全文