Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: finding a sequence of numbers within a numeric variable


From   Michael McCulloch <[email protected]>
To   Statalist <[email protected]>
Subject   st: finding a sequence of numbers within a numeric variable
Date   Sat, 30 Aug 2008 11:26:26 -0700

Hello,
If I have a variable that contains:
	8070
	80703
	8071
is it possible to define an -if- statement that will give me
	8070
	80703
but not
	8071
?



--

Best wishes,
Michael McCulloch



Pine Street Foundation
124 Pine St., San Anselmo, CA 94960-2674
Tel:	(415) 407-1357
Fax:	(415) 485-1065
[email protected]
www.pinestreetfoundation.org
*
*   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