Statalist


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

RE: st: List command


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: List command
Date   Wed, 30 Jul 2008 18:29:24 +0100

That is not a correct answer to the question asked. This selects values
containing "TAG" anywhere within the name. 

Nick
n.j.cox@durham.ac.uk 

Radu Ban

look at the -strpos- function (among string functions). in your case
what you may need is

List [name of the variable] if strpos(x, "TAG") ~= 0

008/7/30, Daniel Sepulveda-Adams <sepul003@umn.edu>:

> Thank you, now if I need all the subject that start with TAG

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index