索引和长度必须引用该字符串内的位置。 参数名: length
string s = "(select '人员基本信息表(HI33)','AAE043','',nvl(sum(case when AAE043 is null then 1 end),0),count(1),'空值比例:', nvl(trunc(((sum(case when AAE043 is null then 1 end) / count(1)))*100,2),0) || '%' from HI33)";
string[] b = s.Split(',');
string f = b[0].Substring(b[0].IndexOf("H"), b[0].Length - 2);
Console.WriteLine(f);