类.1

1、x.Length  ;(字符串长度)

2、x.Trim();(取消字符串前后的空格)

3、x.Substring(a,b);//从第a位截取字符串,取b个

原文地址:https://www.cnblogs.com/sunhan1012/p/4943891.html