Hi all,
Wondering if anyone knew of a method where I can replace texts between commas?
Example:
Say I have a column of strings (without quotes) of codes comma delimited with a variation in the amount of codes listed for each record:
"a12, a13, a14"
where each code corresponded to
a12 - apple
a13 - carrot
a14 - orange
What I would like to do is to replace each code with it's translation and keep the commas as is. Meaning the string above should be changed to
"apple, carrot, orange"
I know I can probably use a combination of the Text to Columns tool to delimit, Transpose tool to make a tall dataset, and use find and replace tool to find and replace tool, and then transform it back to the way it was, but that seems a bit convoluted. Looking to see if anyone happens to know a more straight forward approach.
Thanks!