結果 : string get first n characters java