emoji_locate {emoji}R Documentation

Locate the position of emojis in a string

Description

Vectorised over string

Usage

emoji_locate(string)

emoji_locate_all(string)

Arguments

string

Input vector

Value

For emoji_locate an integer matrix, for emoji_locate_all a list of integer matrices

Examples

string <- paste(c(letters[1:4], emoji_name[1:6]), collapse = " ")

emoji_locate(string)

emoji_locate_all(string)

[Package emoji version 15.0 Index]