Description Usage Arguments Value Examples
str_list()
wraps stringr::str_c()
in order to turn a list of character
strings into a grammatically correct list without an
Oxford Comma by default.
Sue me.
1 | str_list(string, sep = ", ", last = " and ")
|
string |
an object coercible to a character vector. |
sep |
a string to seperate elements except last. |
last |
a string to seperate last element. |
a character string.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.