Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: search the dataset for a string value


From   absc11@bangor.ac.uk
To   statalist@hsphsun2.harvard.edu
Subject   st: search the dataset for a string value
Date   Mon, 23 Feb 2004 14:20:51 +0000

Dear Statalisters,

Probably this question came up many times, but I can not -findit-.
How do I search for a "string value" in one vector of string observations? 
For example search for "bank" in the "company name" variable, so that I will get
all entries that contain the value "bank".

many thanks in advance
Dimitris Christodoulou


--
This mail sent through http://webmail.bangor.ac.uk
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index