結果 : java extract last character from string