結果 : javascript get first n characters of string