摘要: string input ="泉州昨天天气"; string[] array = { "昨天", "前天","大前天" }; int i = array.Where(m => input.Contains(m)).Count();if(i>0){Console.WriteLine("都过去了,有什么可看的");} Console.ReadKey();正则string input ="泉州昨天天气";string[] array={"昨天",&q 阅读全文
posted @ 2013-07-10 16:16 lan 阅读(1265) 评论(0) 推荐(0) 编辑