結果 : java get first n chars from string