I’m hoping this is an easy one, though I have searched high and low. I thought it would be no sweat to compare two lists and return the oddball.
I have two lists (with elements in no particular order):
list1 := C;X;R;Q;N
list2 := X;Q;C;N
I would like to compare the two in a way that gets R as the result.
This formula only works when the lists are explicit in the formula:
@ReplaceSubstring(“C;X;R;Q;N”;“X;Q;C;N”;“”:“”:“”:“”)
But if the lists are the result of a formula, like the following, list1 is returned:
list1:= @Implode(@AttachmentNames);
list2:= PicFileName1 + “:” + PicFileName2 + “:” + PicFileName3 + “:” + PicFileName4;
Result := @Trim(@ReplaceSubstring(list1; list2;“”:“”:“”:“”));
Result
What am I doing wrong.