Cleans a string with cleanSpecialChars and truncates it to maxLength characters,
appending "..." when truncation occurs. Returns an empty string for null/undefined/empty input.
Parameters
value: string|null|undefined
String to clean and truncate.
maxLength: number
Maximum length of the returned string (including the "..." suffix when truncated).
Cleans a string with
cleanSpecialCharsand truncates it tomaxLengthcharacters, appending "..." when truncation occurs. Returns an empty string for null/undefined/empty input.