Description Usage Arguments Value Examples
Convert all characters in a string to hyphens
1 | str_censor(xs)
|
xs |
a character vector |
a vector with the same number of strings (and characters) as the input, but with all characters converted to hyphens
1 2 | str_censor(c("", "a", "ab"))
# c("", "-", "--")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.