A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string. - View it on GitHub
Star
13
Rank
1084285