Dear Stata list,
I have an 18 digit household id number "010101088801601002". I want to shorten it to a 14 digit number "01010101601002" by removing the middle number "8880". How could I do it in Stata? I have been trying with the 'substr' command, but couldn't figure out it yet. Any help? Thank you.
I have an 18 digit household id number "010101088801601002". I want to shorten it to a 14 digit number "01010101601002" by removing the middle number "8880". How could I do it in Stata? I have been trying with the 'substr' command, but couldn't figure out it yet. Any help? Thank you.
Comment