Skip to main content
Module

x/structurae/index.ts>StringView#replace

Data structures for high-performance JavaScript applications.
Latest
method StringView.prototype.replace
import { StringView } from "https://deno.land/x/structurae@4.0.1/index.ts";

Performs an in-place replacement within the StringView of all occurrences of a given pattern with a given replacement.

Parameters

the pattern to be replaced

replacement: IndexedCollection

the replacement

Returns

this

this