結果 : javascript function to check if string contains substring