import { type ReplaceAll } from "https://deno.land/x/rimbu@1.0.2/typical/str.ts";
Replaces, in the given string, all matches with Sub with the given Repl.
Examples
Example 1
Example 1
ReplaceAll<'abcba', 'b', '_'> => 'a_c_a'
ReplaceAll<'abcba', 'b' | 'c', '_'> => 'a___a'