Skip to content

Instantly share code, notes, and snippets.

@arpit
Created April 27, 2019 23:38
Show Gist options
  • Save arpit/ed29aecf6a1ed73f1ab949fea189bffa to your computer and use it in GitHub Desktop.
Save arpit/ed29aecf6a1ed73f1ab949fea189bffa to your computer and use it in GitHub Desktop.
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