Skip to main content
Module

x/nonstd/mod.ts>VerbalExpression#replace

A library for useful features that aren't currently in the std library.
Latest
method VerbalExpression.prototype.replace
import { VerbalExpression } from "https://deno.land/x/nonstd@v0.2.2/mod.ts";

Shorthand function for the string.replace function to allow for a more logical flow

Parameters

source: string

string to search for

value: string

value to replace with

Returns

string

recompiled instance of VerbalExpression