string::indexof搜索某个字符串如何不区分大小写? string::indexof搜索某个字符串如何不区分大小写? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 string.IndexOf(string value,StringComparison.CurrentCultureIgnoreCase) string str = "AdddGGGHh1111"; str = str.ToLower(); int i = str.IndexOf('h'); MessageBox.Show(i.ToString()); for可以同时设几个参数吗? C# 直接把DataTable里的数据写入到Excel时乱码问题!注意:不是导出Excel 如何DataGrid中完成删除功能 How to把一个程序设为开机自动启动用C# 哪里有现成的Winsock控件可以直接在C#中用,急急 C#开发的简单的类似于Servlet Container的Web服务器想要的留个email 动态名字空间调用问题! Excel错误信息问题:Additional information: QueryInterface for interface Excel._Application failed. 请问在没有DataGrid时,能用这句话吗dataSet11.Tables["EMSFMGZGLZ"].Rows[?].Delete();如果能用,问号怎么确定? 一个webform的问题 .NET2005 环境下用C# 如何连接Oracle10g 并且执行sql语句 计算多个数的平均值(控制台应用程序) c#
str = str.ToLower();
int i = str.IndexOf('h');
MessageBox.Show(i.ToString());