Comment Comment by favorited Here's a 1-liner, producing the string "text 0123 漢字":`String("text EMOJI 0123 漢字".unicodeScalars.filter({ !$0.properties.isEmojiPresentation }))`(I've had to substitute EMOJI for a smiley face, because HN is bad at text encoding.) parent favorited 3 years ago
`String("text EMOJI 0123 漢字".unicodeScalars.filter({ !$0.properties.isEmojiPresentation }))`
(I've had to substitute EMOJI for a smiley face, because HN is bad at text encoding.)