Truncates one or more strings to a specified length, adding an ellipsis (...)
to those strings that have been truncated.
formatC to justify the strings if needed.
StrTrunc(x, maxlen = 20)
a vector of strings.
the maximum length of the returned strings.
The string(s) passed as x now with a maximum length of maxlen + 3 (for the ellipsis).
following an idea of Jim Lemon in
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.