java中字符串的常见几个操作
摘要:
//去除字符串前后空格 public class Trim { public static void main(String[] args) { String s=" t e s t "; System.out.println(s); s=s.trim();//去掉前后空格 System.out.p 阅读全文
posted @ 2016-11-27 09:57 pfq 阅读(111) 评论(0) 推荐(0)
浙公网安备 33010602011771号