powered by
Vectorised over string
string
emoji_count(string)
An integer vector
Input vector
stringr::str_count()
string <- paste(c(letters[1:4], emoji_name[1:6]), collapse = " ") emoji_count(string) emoji_count(emoji_name[1:6])
Run the code above in your browser using DataLab