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

st: searching string variables


From   daphna <bassok@hoover.stanford.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: searching string variables
Date   Tue, 29 Jun 2004 14:12:50 -0700

Hello all-

I have a very basic question related to string variables, which I cannot seem to resolve. I apologize if this is too basic.

I need a way to essentially search through string variables the way you would use the "find" command in excel.

For instance, I have a long list of school names. Some of them may have the word Alternative (or some part thereof is alt, alterna. erc) within their name (but it wouldn't necessarily be the first part or last part of their name) How can I find these.

Right now I am literally exporting to excel and using the find command, but I am sure there is an easier way.

Thanks so much for the help.

Sincerely,

Daphna


=====================================================================

Daphna Bassok

Research Assistant
Center For Research On Education Outcomes
Stanford University
Stanford, CA 94305

Phone: (650) 725-6169

=====================================================================

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