Skip to main content
Module

x/ramda/source/index.js>replace

:ram: Practical functional Javascript
Latest
variable replace
import { replace } from "https://deno.land/x/ramda@v0.27.2/source/index.js";

Replace a substring or regex match in a string with a replacement.

The first two parameters correspond to the parameters of the String.prototype.replace() function, so the second parameter can also be a function.