The CompareDictionary([A], [B]) function in Alteryx is case insensitive so it returns an "Equal" response (0) for CompareDictionary("cat","CAT").
Could we please add a either a case sensitivity parameter like the EndsWith(String, Target, caseinsensitivity) function; or create a new function that allows for both case sensitive and insensitive comparisons between strings?