Expand description
ยงEmojito
Find Emoji in strings. Supports complex emoji such as ๐จโ๐ฉโ๐งโ๐ฆ.
Uses the unic-emoji-char crate in the background, and does not rely on regexes.
ยงUsage
let content = "Test ๐โค๏ธ! ๐ป๐ ๐จโ๐ฉโ๐ฆ kk ๐จโ๐ฉโ๐งโ๐ฆ";
let emojis = emojito::find_emoji(content);
assert_eq!(emojis.len(), 6);Structsยง
- Emoji
- Contains all information about an emoji
See the CLDR for specific examples of all fields exceptvariants.
Functionsยง
- find_
emoji - Find all the emoji in a string. Returns the emoji in a
Vec.