It makes a string fit into a required length by replacing part of it in the middle with an ellipsis.
Yegor Bugayenko
May 21, 2025 5:26am
MIT