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

Re: st: question about substracting a part of a string in a dummy variab


From   Rafal Raciborski <[email protected]>
To   [email protected]
Subject   Re: st: question about substracting a part of a string in a dummy variab
Date   Mon, 07 Nov 2005 11:27:19 -0500

gen action = 0
replace action = 1 if regexm(stringvar, "action")

================
Rafal Raciborski
Graduate student
Department of Political Science
Emory University
301 Tarbutton Hall
1555 Dickey Drive
Atlanta, GA 30322
404-378-9826 (home)
[email protected]
http://www.roofoos.net/


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