This is not hard, but first tell us whether the type of original value is
string or numeric.
-- David
At 05:21 PM 8/31/2004 -0400, you wrote:
I have a variable that is a number of about 10 characters, and I need to
create a variable that is the 5th and 6th character of the longer
variable. Does anyone have any suggestions on how I could do this?
Thank you very much for your help.
Kenley
[...]
David Kantor
Institute for Policy Studies
Johns Hopkins University
[email protected]
410-516-5404
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/