結果 : get first 10 chars of string javascript