Skip to content

Instantly share code, notes, and snippets.

@arpit

arpit/emoji.dart

Created Apr 27, 2019
Embed
What would you like to do?
String s = "😀 hello";
s.runes.forEach((int i){
String x = String.fromCharCode(i); // Get emoji as 1 string and now 2 CodePoints
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.