結果 : remove the last character from a stringbuilder java