一碗白开水*

导航

StringBuffer 去掉最后一个字符

StringBuffer  stringBuffer=new StringBuffer ();
stringBuffer.append("aaa,");
stringBuffer.deleteCharAt(stringBuffer.length() - 1);

 

posted on 2018-03-02 10:18  一碗白开水*  阅读(1788)  评论(0编辑  收藏  举报