import { type TakeWhile } from "https://deno.land/x/rimbu@1.2.1/typical/str.ts";
Returns part of the string as long as its parts match Sub.
Type Parameters
Sub extends string & NonEmptyString<Sub>
import { type TakeWhile } from "https://deno.land/x/rimbu@1.2.1/typical/str.ts";
Returns part of the string as long as its parts match Sub.