View source: R/tr_trunc_neatly.R
tr_trunc_neatly | R Documentation |
Trims the input string to the desired length, appending an ellipsis to the end, without splitting in the middle of a word.
tr_trunc_neatly(x, l = 60)
x |
Input string to trim to desired length, appending an ellipsis to the end, and without splitting words |
l |
Desired length at which to trim strings |
Character string
None.
https://www.github.com/travis-m-blimkie/tRavis
tr_trunc_neatly("This is a test string", l = 17)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.