Clips strings to a maximum length, appending a tail if shortened.
Arguments
- x
[
character]
Vector of strings.- len
[
integer(1)]
Absolute length the string should be clipped to, includingtail. Note that you cannot clip to a shorter length thantail.- tail
[
character(1)]
If the string has to be shortened at least 1 character, the final characters will betail. Default is “...”.