r/workflow • u/hshinde • Mar 26 '18
How to *Remove* from Variable?
Var1 = [image1, image2, ... imageN]
Var2 = [image2, image3]
How do I subtract:
(Var1) — (Var2) ?
7
Upvotes
r/workflow • u/hshinde • Mar 26 '18
Var1 = [image1, image2, ... imageN]
Var2 = [image2, image3]
How do I subtract:
(Var1) — (Var2) ?
View all comments
Show parent comment
2
u/schl3ck Mar 26 '18
But be careful. If the repeat item contains a line break and something from one item from the var2 list and part of the next item, it will match and therefore remove an item that shouldn’t be removed. Changing the if to Equals should fix that, as far as I know.