java中trim()

trim() 方法用于删除字符串的头尾空白符。 public static void main(String[] args) { String str = new String(" https://blog.csdn.net/lihua5419 "); System.out.print("博客地址 :" ); System.o
相关文章
相关标签/搜索