View source: R/str_remove_reply_mentions.R
str_remove_reply_mentions | R Documentation |
@mentions
from the beginning of strings.str_remove_reply_mentions
- Remove all @mentions
from the beginning of strings. This can be useful for cleaning tweets because the texts of replies start with the screen_names
of all users further down the reply tree.
str_remove_reply_mentions(.str)
.str |
... |
str_remove_reply_mentions
- returns a ...
## str_remove_reply_mentions EXAMPLE:
str_remove_reply_mentions(c(
"@test test!",
"@test @test test test!"
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.