Description Usage Arguments References Examples
Detach prefixes or suffixes
1 | str_detach(x, sep = ",", side = "left", greedy = TRUE)
|
... |
arguments to |
http://www.r-bloggers.com/string-manipulations-on-full-names/
1 2 3 4 5 | ex = c("a", "a, b", "a, b, c", "a, b, c, d")
str_detach(ex, side = "left" , greedy = TRUE)
str_detach(ex, side = "right" , greedy = TRUE)
str_detach(ex, side = "left" , greedy = FALSE)
str_detach(ex, side = "right" , greedy = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.