摘要: 当切割字符串的是单个字符时可使用String.Split string strSample="ProductID:20150215,Categroy:Food,Price:15.00"; string[] sArray=strSample.Split(','); //注意,这里用的是单引号,而非双引 阅读全文
posted @ 2017-03-30 15:00 suan1717 阅读(139) 评论(0) 推荐(0) 编辑