Quantcast
Channel: How to delete/detect any emoji as a whole from a string in Flutter? - Stack Overflow
Viewing all articles
Browse latest Browse all 10

How to delete/detect any emoji as a whole from a string in Flutter?

$
0
0

I would like to simulate a keyboard backspace delete event from a string in Flutter (or Dart). Something like:

String str = "hello🇵🇬你们😀😀👨‍👩‍👦"myBackspace(str) // will return "hello🇵🇬你们😀😀"myBackspace(str) // will return "hello🇵🇬你们😀"myBackspace(str) // will return "hello🇵🇬你们"myBackspace(str) // will return "hello🇵🇬你"myBackspace(str) // will return "hello🇵🇬"myBackspace(str) // will return "hello"myBackspace(str) // will return "hell"

Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>