I\'m working on an Android app, and I do not want people to use emoji in the input.
How can I remove emoji characters from a string?
For those using Kotlin, Char.isSurrogate can help as well. Find and remove the indexes that are true from that.