emoji_modifier_remove {emoji} | R Documentation |
Remove Modifiers from Emojis
Description
Remove Modifiers from Emojis
Usage
emoji_modifier_remove(x)
Arguments
x |
Characters, vector of emojis. |
Details
This function is vectorized. See emoji_modifiers for full list of modified emojis and their unmodified state.
Value
character vector, single emojis will be replaced with un-modified if possible.
Examples
waving_hands <- emojis$emoji[grepl("waving hand", emojis$name)]
waving_hands
emoji_modifier_remove(waving_hands)
set.seed(1234)
emoji_sample <- sample(emojis$emoji, 10)
emoji_sample
emoji_modifier_remove(emoji_sample)
[Package emoji version 15.0 Index]