Wiki

Clone wiki

OYSTER / TRANSPOSE

As a similarity function TRANSPOSE returns True if and only if the two string are non-empty and differ only by exactly one reversal of 2 adjacent characters. TRANSPOSE is case sensitive. If either or both strings are empty or blank, the comparator returns False. Example: "ABCD" compared to "ACBD" returns True; "ABCD" compared to "ABCD" returns False.

Updated