Hi all,
I have a simple loop intended to remove carriage returns from string columns.
When I run it, the output of the String Replacer node seems like it’s run correctly, the carriage returns are replaced, and the iteration counter is at 14. However, the output table of the Loop End node does not have the updated strings, and the iteration counter column says 0.
Hi @MartinDDDD, thanks for the tip. The Loop End (column append) sort of works. The output table now has 14 iterations of all of my columns, and the final iteration does have all the columns fixed up.
It would need work to now clean out all the other version of the columns, and rename the final ones.
It feels like it should work with the Loop End node, but for some reason I can’t get it to.
I’ve attached the workflow. Your solution would definitely work, however, ideally, the output would maintain the same column order, which is why I didn’t really want to split the columns out. Remove All Carriage Returns.knwf (77.1 KB)
Just an updated that I’ve used your solution, and just wrapped it in a Reference Column Resorter node to maintain the column order. I never knew about this node before, and it’s going to be very handy!