How should I call the operation that limit a string's length?
- by egarcia
This is a language-agnostic question - unless you count English as a language.
I've got this list of items which can have very long names.
For aesthetic purposes, these names must be made shorter in some cases, adding dots (...) to indicate that the name is longer. So for example, if article.name returns this:
lorem ipsum dolor sit amet
I'd like to get this other output.
lorem ipsum dolor ...
I can program this quite easily. My question is: how should I call that shortening operation? I mean the name, not the implementation. Is there a standard English name for it?