Hello,
I have a complexe task to do, here a csv file:
Note that you can have more than 3 columns before A, and more than 3 columns after XA
I need to build a variable with concatenation of C1, C2, C3 columns (again you can have between 1 and x columns)
Something like this:
Note also that when executin this, I can already have other variables in memory.
How can I do this ?
I have a complexe task to do, here a csv file:
Code:
C1,C1,C3,A,D1,D2,D3 ME,PATRICE,PARIS,0,1,122,145 YOU,JEAN,ROME,7,1,745,111
I need to build a variable with concatenation of C1, C2, C3 columns (again you can have between 1 and x columns)
Something like this:
Code:
gen final=C1 + "." + C2 + "." + C3
Code:
ME.PATRICE.PARIS YOU.JEAN.ROME
How can I do this ?
Comment