結果 : javascript substring not a function