string str = "大龙喜欢zzm";
string s1 = str.Substring(0, 2);
string s2 = str.Substring(2, 2);
string s3 = str.Substring(4);
Console.WriteLine(str[0]);
Console.WriteLine(s1 + ' ' + s2 + ' ' + s3);
Console.ReadKey();
注意到从string取其中的char的下标是从零开始,就不难解决了。
原文地址:http://blog.csdn.net/xyl295528322/article/details/30217953