trim()方法

trim() 方法用于删除字符串的头尾空白符。
public String trim();
用法:s.trim();
原文地址:https://www.cnblogs.com/shiji-note/p/14533516.html