//获取截取的第一个字符所在 int subA = jsonTest.LastIndexOf("["); //获取截取的第二个字符所在 int subB = jsonTest.LastIndexOf("]");