close
string title = "STRING"; bool contains = title.IndexOf("string", StringComparison.OrdinalIgnoreCase) >= 0;
參考:Case insensitive 'Contains(string)'
文章標籤
全站熱搜
string title = "STRING"; bool contains = title.IndexOf("string", StringComparison.OrdinalIgnoreCase) >= 0;
參考:Case insensitive 'Contains(string)'
留言列表