Hello everyone, I have a dataset with a string variable like this:
name
Duomo (1)
Brera (2)
Giardini Porta Venezia (3)
Guastalla (4)
Vigentina (5)
Ticinese (6)
Magenta - S. Vittore (7)
I want to create two new variables: in the first one I want to have only the name and in the second one the value between parenthesis.
Which command I have to use? Someone could help me?
Thank you in advance.
name
Duomo (1)
Brera (2)
Giardini Porta Venezia (3)
Guastalla (4)
Vigentina (5)
Ticinese (6)
Magenta - S. Vittore (7)
I want to create two new variables: in the first one I want to have only the name and in the second one the value between parenthesis.
Which command I have to use? Someone could help me?
Thank you in advance.