View source: R/strings_utils.R
trunc_string | R Documentation |
Truncates character strings
trunc_string(x, n = 22)
x |
a string |
n |
desired length |
x will be truncated according to 'n' parameter. If x is longer than n '...' are appended.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.