It makes a string fit into a required length by replacing part of it in the middle with an ellipsis.
Yegor Bugayenko
June 7, 2025 4:49am
MIT