結果 : java last position of character in string