Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: how to remove symbles or some part from a string?


From   Amadou DIALLO <[email protected]>
To   [email protected]
Subject   Re: st: how to remove symbles or some part from a string?
Date   Tue, 19 May 2009 08:36:14 +0300

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/



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