結果 : java string print first n characters