How can I check in LibreOffice Calc whether two words have the same letters, i. e. are anagrams? Is this doable with the built-in functions?
Edit: My idea is: convert the letters in both words to lower case, sort the letters alphabetically and compare the results. With Python this is easy:
a1 = "Anagram"
b1 = "nagaram"
print("a1 & b1 are anagrams: ", "".join(sorted(a1.lower())) == "".join(sorted(b1.lower())))
But how can I do this with LibreOffice Calc? The function SORT() needs a range or an array. But how can I split a cell value into an array?
At first this seemed to be such a simple task...
MID()in a temporary table, but it got really ugly ... with no usable result.