import { type Str } from "https://deno.land/x/rimbu@0.13.1/typical/mod.ts";
const { SplitAt } = Str;
Returns false if the given string does not contain the given Middle
type,
or a 3-tuple containing the start, the matched middle, and the rest.
Type Parameters
Middle extends string & NonEmptyString<Middle>