Hi @mkubita , and welcome to the forum!
If I understand you correctly, you wish to search the string value in the first column for the string value in the second column and wherever found, remove the matching string from the first column?
If so, the 3rd row of your example result table should be:
| Wanna dog and a cat | have
Is that correct?
In any case, this could be accomplished several ways. Perhaps the most straightforward would be to use the String Manipulation node. You could select the option to replace the value in the first column, and enter the expression as in the screenshot below.
If instead you want to use the value from the second column that is in the previous row, you could use precede the String Manipulation node with the Lag column node. I hope this helps!
-Don
Hi,
thanks for the answer. I did not explain it correctly, so I may clarify my question.
I have two columns in my dataset and the second column contains the strings that should be replaced in the first column - but the thing is that that the order of rows does not matter.
It means that if I have in me second column strings like that: dog / cat / horse and in my first column I have phrases like: dog likes cat / I like you. Firsly it should search for ‘dog’ in first column and remove this strings, then it should search for ‘cat’ and remove it, then for ‘horse’. As a result my dataset should look like: likes / I like you