Sampson-Li
Sampson.Li学习经验总结博客 学历代表过去,能力代表现在.学习力代表未来!
摘要: 数组等量分隔成几个如string[] oldArray=new string[]{1,2,3,4,5,6,7,8,9}string[] newArray=Splice(oldArray,',',3);分隔后newArray[0]={1,2,3};newArray[1]={4,5,6};newArray[2]={7,8,9}; private static string[] Splice(string[] oldArray, char splitChar, int length) { string[] ret; int count = o... 阅读全文
posted @ 2012-02-01 10:36 Sampson 阅读(238) 评论(0) 推荐(0) 编辑