We love the emojis in Coda, however not every service does. We are currently working with one that doesn’t recognize them and they break the API. Is there a sure-fire way to find and extract emojis out of a string? Maybe they are all in specific range of the character() function? This would be great to solve until the world realizes hieroglyphics are the new old hotness!
In my case each emoji was at the end, ie object =
At first I tried using
However some emojis are one character and some seem to be two. This was not consistent. I came up with:
split(object, " ").first()
This works, but isn’t a ‘complete’ solution for identifying and dealing with emojis!