結果 : get first 4 character of string javascript