标签:pre 加班 字段 regex reac split blog each option
string content = "第1行导入失败,失败原因为: 《加班原因》字段必填"; string[] resultString = Regex.Split(content, "失败原因为:", RegexOptions.IgnoreCase); foreach (string i in resultString) { Console.WriteLine(i.ToString()); }
标签:pre 加班 字段 regex reac split blog each option
原文地址:http://www.cnblogs.com/gaocong/p/7678153.html