結果 : javascript replace nth character in string