忽略大小写的字符串包含测试

快速记录一下:

System.Threading.Thread.CurrentThread.CurrentCulture.CompareInfo.IndexOf(stringA, stringB, System.Globalization.CompareOptions.IgnoreCase) >= 0

 

posted on 2013-04-08 15:10  零度的火  阅读(241)  评论(0编辑  收藏  举报

导航