結果 : java get first x characters of string