Hello,
I want to replace phrases in a string variable so I can transform them into numbers and numerical variable.
I used the following command to replace:
replace VARIABLE = "NUMBER" if VARIABLE == "TEXT"
However, I have a long list of texts, so I want a command that makes the "if" condition function when it finds at least a specific word in the cell or starts with a specific word.
I want to replace phrases in a string variable so I can transform them into numbers and numerical variable.
I used the following command to replace:
replace VARIABLE = "NUMBER" if VARIABLE == "TEXT"
However, I have a long list of texts, so I want a command that makes the "if" condition function when it finds at least a specific word in the cell or starts with a specific word.
Comment