import { trimStart } from "https://deno.land/x/ayonli_jsext@v0.9.72/string/index.ts";
Removes leading spaces or custom characters of the string.
Examples
Example 1
Example 1
import { trimStart } from "@ayonli/jsext/string";
console.log(trimStart(" hello world ")); // "hello world "
console.log(trimStart(" !hello world! ", " !")); // "hello world! "