Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: How to list variables with certain characters in the variable names?


From   [email protected]
To   statalist<[email protected]>
Subject   st: How to list variables with certain characters in the variable names?
Date   Sat, 22 Aug 2009 23:40:20 +0800

Dear statalists,
How to list variables with certain characters in the variable names? 
I think -ds- could produce something I need. However, I did not find 
a solution in -ds-.

For example, I have variables x, jj,aa,bb,yxz,xxj, ix in the dta.
I want to list variables x, yxz,xxj,ix, which has a character "x"
in the variable names.


Thank you for any help.

Best regards,
Rose.

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