Monday, June 22, 2020

Extract code from variable

Hi,

I would like to extract the code from the variable name, for instance:

Code:
ID_name
010000 Paris
020111 Berlin
into

Code:
Code       City
01000      Paris
020111    Berlin
Thank you always for your help!

No comments:

Post a Comment