摘要:
获取指定后面的值包括指定的值123456 int length = a.Length;//获取字符串长度 int IndexofA = a.IndexOf("4");//获取出现的位置 string b = a.Substring(IndexofA, length - IndexofA);//获取指定字符串后面的数值就是456获取中间的部分例如下:123456 int length = a.IndexOf("2", 0) + "w|".Length; ;//开始的位置 ... 阅读全文
摘要:
阅读全文