Hi there!
I have a string variable in my data set which contains information in brackets (the brand) that I need in a separate vairable:
VARIABLE
Product1(Brand1)
Product1(Brand2)
Product 2(Brand 1)
Product 2a(Brand 1)
Product 45(Brand345)
Product 62(Brand1)
Since the length of the string is different, I guess I need to approach it over the parenthesis? Any idea how to extract what is in brackets? That would be fantastic!
Best,
Anna
I have a string variable in my data set which contains information in brackets (the brand) that I need in a separate vairable:
VARIABLE
Product1(Brand1)
Product1(Brand2)
Product 2(Brand 1)
Product 2a(Brand 1)
Product 45(Brand345)
Product 62(Brand1)
Since the length of the string is different, I guess I need to approach it over the parenthesis? Any idea how to extract what is in brackets? That would be fantastic!
Best,
Anna
Comment