結果 : javascript select first n characters of string