Skip to content

Commit

Permalink
Add note about extracting emojis to README (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
niij authored and vdurmont committed Nov 14, 2017
1 parent 3664230 commit 8cf5fbe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@ System.out.println(EmojiParser.removeEmojis(str, collection));
// "An 😀awesome 😃string with a few emojis!"
```

#### Extract Emojis from a string

You can search a string of mixed emoji/non-emoji characters and have all of the emoji characters returned as a Collection.

* `EmojiParser#extractEmojis(String)`: returns all emojis as a Collection. This will include duplicates if emojis are present more than once.

## Credits

**emoji-java** originally used the data provided by the [github/gemoji project](https://github.com/github/gemoji). It is still based on it but has evolved since.
Expand Down

0 comments on commit 8cf5fbe

Please sign in to comment.