View source: R/unicode_utils.R
| count_emojis | R Documentation |
Counts the number of emoji characters in text.
count_emojis(text)
text |
Character vector to count emojis in |
Integer vector with emoji counts for each element
count_emojis("Hello world")
count_emojis("Hello \U0001F44B World \U0001F30D!")
count_emojis(c("No emoji", "\U0001F600\U0001F601\U0001F602"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.