字符串的截取(从指定位置)

string s = "1234abc123444555efcdeeee";
            int i = s.IndexOf("abc")+1;
            int j = s.IndexOf("ef");
            string str = s.Substring(i, j - i+2);



str结果为:abc123444555ef,

原文地址:https://www.cnblogs.com/zhang102137/p/5498340.html