Skip to main content
Module

x/ramda/mod.ts>replace

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

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.