Skip to content

trimStart

Trims the specified prefix from the start of a string.

Import:

import { trimStart } from '@mnaoumov/typescript-lib/string';

Signature:

function trimStart(params: TrimStartParams): string

Parameters:

Parameter Type Description
params TrimStartParams The parameters.

Returns: string — The trimmed string.


Links to this page: