I currently have a ‘Name’ feild which contains emojis (for example ‘ Misc ’, ‘ Life Admin Tasks ’) , because of the nature of Emojis - this means that the feild cannot be sorted alphabetically.
Is there a way to remove emojis from a feild (for example to create a dedicated ‘sorting’ column which doesn’t contain the emojis)?
Formula
First Emoji > thisRow.Name.Split(" ").First()
Second Emoji > thisRow.Name.Split(" ").Last()
Result > RegexReplace(RegexReplace(thisRow.Name,thisRow.[1st Emoji],"" ),thisRow.[2nd Emoji],"")
if you do not have a space between the emoji and the text then the Split(’ ') wont work. but if the emojis occupy the first and last positions of the text then you can remove them using the Middle() function.
but you must be aware that each emoji is actually encoded as 2 characters so you need to remove 2 characters from the start to get a sortable text string…