結果 : get first 4 chars of string javascript