@tempots/std

trimCharsLeft() function

trimCharsLeft removes from the beginning of the string any character that is present in charlist.

Signature:

trimCharsLeft: (value: string, charlist: string) => string

Parameters

Parameter

Type

Description

value

string

The string to trim.

charlist

string

The characters to remove from the beginning of the string.

Returns: string

The trimmed string.