Skip to content

trimStart

Trims the specified prefix from the start of a string.

Import:

import { trimStart } from 'obsidian-dev-utils/string';

Signature:

function trimStart(params: TrimStartParams): string

Parameters:

ParameterTypeDescription
paramsTrimStartParamsThe parameters.

Returns: string — The trimmed string.


Links to this page: