Hello,
I'm trying to find a way to change the name of a field based on whether it contains a certain word. For example, if F1 contains the word "quantity" then I want to rename the field to quantity. If not, then I want to ask if F1 contains the word "price." If it does, then I want it to be renamed "price."
Currently, I'm using dynamic rename and entering the following expression:
IF "Quantity" THEN "Quantity" ELSEIF "Price" THEN "Price" ELSE "0" ENDIF
I've tried using IF Contains in the tool, but it's been unsuccessful. Any help would be appreciated!