use subinstr() with optionnally lower()
2009/5/19, qingf wang <[email protected]>:
> If I have "(...)" in a variable, how to remove it? Thanks a lot!
>
> Example:
>
> country new
>
> (germany) germany
> (USA) usa
> (India) India
>
>
>
> *
> * 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/
>
--
---
Amadou B. DIALLO, PHD
Development Economist
Director, Center for Research and Training on Adult Education
Mayotte, FRANCE
www.aprosasoma.org
+262639693250
*
* 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/