結果 : java first n characters of string