Anyone know why this code doesn't work? There's a flaw in my logic i guess but i just can't see it.
I have a bunch of instances with a string variable "myNumbers" used to hold tokens of different numbers.
One instance may look like this "1,5,6,2" and another like this "3,5", they're all different.
I have a global string "deleteNumbers" holding a group of token numbers in the same way.
I want to loop over the instances, compare their numbers with the deleteNumbers and record the numbers from "myNumbers" that don't match and put them into another string variable "newNumbers".
for example if "deleteNumbers" = "1,5,8,9"
and an instance "myNumbers"="1,3,2,9"
then the instance "newNumbers" = "3,2" the 1 and 9 are not recorded.
Here's the events, and .capx file.
I tried simply using "system find" expression combined with the "system replace" expression but it matches individual characters and not tokens so 1 deletes 11, or if the number was say 17 it would delete the 1 and leave 7.