string类的操作.docVIP

  • 7
  • 0
  • 约5.87千字
  • 约 7页
  • 2018-01-05 发布于河南
  • 举报
string类的操作

using System; using System.Collections.Generic; using System.Text; namespace LTP.Common { public class StringPlus { public static Liststring GetStrArray(string str, char speater,bool toLower) { Liststring list = new Liststring(); string[] ss = str.Split(speater); foreach (string s in ss) { if (!string.IsNullOrEmpty(s) s !=speater.ToString()) { string strVal = s; if (toLower) { strVal = s.ToLower();

文档评论(0)

1亿VIP精品文档

相关文档