結果 : how to remove last character from stringbuffer in java