C#字符串提取及转换

strValue.Substring(44, 3) 

从字符串第44位开始,向后提取3位


Convert.ToInt32(strValue.Substring(92, 3))

将字符串转换成整型数








猜你喜欢

转载自blog.csdn.net/m1f2c3/article/details/72649563