Truncate Strings
str_trunc() truncates a string to a given width.
str_trunc(str, width = 0.9 * getOption("width"), ellipsis = "[...]")str |
( |
width |
( |
ellipsis |
( |
(character()).
str_trunc("This is a quite long string", 20)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.