c#,winform,substring,截取字符串,截串

//string s = "checkBox1";
                ////s2为从s中截取的位置为6的字符开始长度为2的字符串,6表示子字符的起始字符位置,2表示子字符长度
                //string s2 = s.Substring(8, 1);
                //MessageBox.Show(s2);

 

 

黑色头发  http://heisetoufa.iteye.com

你可能感兴趣的:(C++,c,C#,WinForm)