結果 : javascript truncate string after character