Looking for a line of code or formula to check if two strings have the same characters but not necessarily in the same order (without using a loop or sorting the strings)

e.g.

ABCDE
BEADC

should result in a match

Thanks