結果 : javascript get left characters of string