結果 : replace nth character in string javascript