摘要: 例如有一个字符串“Google Nexus 4 mobile phone”,你要搜索“Google”和“Nexus”,那么应该返回TRUE。 static void Main(string[] args) { string[] strArr = { "Nexus","Google"}; string str = "Google Nexus 4 mobile phone"; Console.Write(MatchKeyWords(str, strArr)); } static... 阅读全文
posted @ 2013-06-21 07:07 Ligeance 阅读(653) 评论(0) 推荐(0)