Skip to content

drop

String.drop(target, amount)

Removes the first amount characters from target string.

Example

ts
import { String } from "@monstermann/string";

String.drop("hello world", 6); // "world"
ts
import { String } from "@monstermann/string";

pipe("hello world", String.drop(6)); // "world"