一、String 对象 10.trim (1)字符串有 trim()方法 可以去除 字符左右两边的空格 (2)不能去除字符里面的空格 ' ' 左右两边会把空格都去掉 11. toLowerCase 把字符串转换为小写 12.toUpperCase 把字符串转换为大写 13.subst