Crate emojito

source ·
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

Contains all information about an emoji
See the CLDR for specific examples of all fields except variants.

Functions

Find all the emoji in a string. Returns the emoji in a Vec.