From | Doug Owens <[email protected]> |
To | [email protected] |
Subject | Re: st: Re: replace a string variable |
Date | Mon, 9 May 2005 11:19:03 -0400 |
what about replace vend = "STRYKER" if index(vend,"STRYKER") replace vend = "ZIMMER" if index(vend,"ZIMMER") replace vend = "SULZER" if index(vend,"SULZER") then there should onyl be a few lines with typos left over, e.g., STYKER ITALIA SRL * * 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 |