I got for example this list [abracadabra,cabra,malacabra,caca] and I want to remove the part of the strings that are ending in this string text “bra”, so I would get a result like this in the string list: [abracada,ca,malaca,caca]
The most similar OOTB node is String.TrimTrailingWhitespace, but instead of space I need specific string to remove.
There are a number of ways to go about this. There is a python method called rstrip() that does exactly what you’re looking for. Or you could get a little creative with some node logic; Example: Split the strings at their last three characters, check to see if those chars == "bra" and return either the original or split string depending on that result.