trimStart
Trims the specified prefix from the start of a string.
Import:
import { trimStart } from 'obsidian-dev-utils/string';Signature:
function trimStart(params: TrimStartParams): stringParameters:
| Parameter | Type | Description |
|---|---|---|
params | TrimStartParams | The parameters. |
Returns: string — The trimmed string.
Links to this page: