Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Changing the ID


From   Rajaram Subramanian Potty <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Changing the ID
Date   Wed, 14 Oct 2009 15:21:24 +0530

Dear all,

I have a data set which contains IDs of individual cases. But
unfortunately some of the IDs include character "A", (either in
capital or small). Instead of the value "0" for some of the cases "A"
is included. I just want to know how, I should remove "A" and put "0".
Following is the example of the IDs of 14 observations.

1A01506006
10015021903
10015012502
100150122013
1001505901
10015020502
10015026104
10015014402
1A015018102
1001506704
10015026601
10015028107
1001507004
1A01508604

Thanks and regards,

RAJARAM. S
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index