結果 : java get first n chars of string