Skip to content

normalizeString

Normalizes a string by converting it to the NFC form and replacing non-breaking spaces with regular spaces.

Import:

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

Signature:

function normalizeString(str: string): string

Parameters:

ParameterTypeDescription
strstringThe string to normalize.

Returns: string — The normalized string.