網頁

2012年5月19日

c# String.IndexOf 大小寫

筆記一下

str.IndexOf("", StringComparison.CurrentCultureIgnoreCase)

這樣搜尋字串就可以英文大小寫通吃了

沒有留言:

張貼留言