Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: isolating characters in the middle of a long number


From   Kenley Barrett <Kenley.Barrett@mssm.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: isolating characters in the middle of a long number
Date   Tue, 31 Aug 2004 17:21:19 -0400

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

*
*   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/



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