cleanString(str): string

Cleans a given string by removing line breaks, reducing multiple spaces to a single space, and trimming leading and trailing whitespace.

Parameters

ParameterTypeDescription
strstringThe input string to be cleaned.

Returns

string

The cleaned string with normalized whitespace.

Defined in

src/modules/parser.ts:1624