JAVA 中去掉空格1. String.trim()trim()是去掉首尾空格2.str.replace(" ", ""); 去掉所有空格,包括首尾、中间复制代码代码如下:String str = " hell o ";String str2 ...
確定! 回上一頁