結果 : how to get last character of stringbuilder in java