Functional Weave
Code in TypeScript

Tagged truncate

1 capability

text.truncate
Shorten text to a maximum length on a word boundary and add an ellipsis, counting Unicode code points.
truncate in TypeScript