Cuts a text off at a certain length, ending it with three dots.
textEllipsis("hello", 3); // "hel..."
← sum