to beat on a muribund horse...
I think the condition... if (strpos, x, "TAG") == 1 may also work
P.S. clearly a lot of people are on vacation these days and some of
them haven't set their out of office reply properly
2008/7/30, David Kantor <[email protected]>:
> Radu'd advice,,,
>
> List [name of the variable] if strpos(x, "TAG") ~= 0
>
> will yield any case that includes "TAG" in x. If you want only the ones that
> begin with "TAG", the condition should be
> ... if substr(x, 1, 3) == "TAG"
>
> --David
>
>
> *
> * 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/
>
--
picasaweb.google.com/raduban
*
* 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/