Comparing and stating the difference between two checkboxes

I need a hint how to compare the ticks set in 2 checkboxes, each containing 32 text entries.I need to get the entries which are ticked in box 1 but not in box 2.

I tryed to do it with @if((@contains… , but this worked only for 1 entry.

I understand the @compare function in a way that I can see whether there is a difference or not but not able to state the entries which are different.

Any help is appreciated,

thank you very much in advance,

Leini

Subject: comparing and stating the difference between two checkboxes

Hi Leini,

It’s really simple:

@Trim(@ReplaceSubstring(Checkbox1;Checkbox2;“”))

This operation will replace all values of checkbox1 that appear in checkbox2 with blank.

Blank entries will be removed by trim function.

Best Regards,

Dima Pechersky

Subject: I would use @Replace instead of @ReplaceSubString, just in case you had…

L1 := “Grubs” : “Ticks and Grubs” : “Ants” : “Fire Ants”;L2 := @Trim(@ReplaceSubString(L1; “Grubs”; “”));

L2 would = “Ticks and” : “Ants” : “Fire Ants”;

L2 := @Trim(@Replace(L1; “Grubs”; “”));

L2 would = “Ticks and Grubs” : “Ants” : “Fire Ants”;

Subject: RE: I would use @Replace instead of @ReplaceSubString, just in case you had…

You definitely right Bill, I missed this point.

Best Regards,

Dima Pechersky

Subject: Simple but very useful! Thank you very much! n/t