How-To: Truncate String with Ellipsis
String truncation is a process of shortening a string by removing characters from the end. This can be done for a variety of reasons, such as to make room for other text or to make the string fit within a certain width. One common way to truncate a string is to add an ellipsis (…) …