Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tstl/benchmark/internal/StringUtil.ts>StringUtil.ltrim

TypeScript-STL (Standard Template Library, migrated from C++)
Latest
method StringUtil.ltrim
import { StringUtil } from "https://deno.land/x/tstl@v3.0.0/benchmark/internal/StringUtil.ts";

Remove all designated characters from the beginning of the specified string.

Parameters

str: string

The string should be trimmed.

...args: string[]

Designated character(s).

Returns

string

Updated string where designated characters was removed from the beginning