Thanks Scott and Kit. I was confusing storage type with the position of
the string var in r(varlist). I can get the desired output by exploiting
the fact that the one string I wish to exclude is much longer (%80s) than
any other string variable. Another option would be parse the first two
variables from r(varlist). These two variables plus the space in between
are 9 characters, so
ds
local list = substr("`r(varlist)'",9,.)
li `list'
Caleb
[email protected]
University of Oregon Sociology
*
* 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/