結果 : javascript substr is not a function