The string to be truncated.
The maximum length of a string before it must be truncated.
The string, if it is less than or equal to maxLength; otherwise, the string truncated to maxLength - 3 characters with an ellipsis in the middle.
Generated using TypeDoc
Truncates a string by replacing the middle with an ellipsis.