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