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

st: RE: RE: RE: RE: reduce a variables numbers of digits to 4 counting from left


From   "Nick Winter" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: RE: RE: reduce a variables numbers of digits to 4 counting from left
Date   Thu, 16 Jan 2003 10:20:07 -0500

> Another typo: Nick means 
> 
> substr(string(numvar),1,4)
> 
> as something needs to be a string before you 
> can extract a substring. 

Clearly we all need more coffee this morning.


As for "St8a8", anyone out there young enough (or old enough?) to
remember the techno band Altern8?

--Nick Winter
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index