Truncates a string in the middle by replacing the characters between the specified start and end positions with an ellipsis.
The string to truncate.
The starting position of the string to be replaced with an ellipsis.
The ending position of the string to be replaced with an ellipsis.
The truncated string.
Truncates a string in the middle by replacing the characters between the specified start and end positions with an ellipsis.