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