This makes it a little difficult to keep track of what has
not yet been identified as OK. See my earlier
posting for another way to do it.
Nick
[email protected]
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Doug Owens
> Sent: 09 May 2005 16:19
> To: [email protected]
> Subject: Re: st: Re: replace a string variable
>
>
> 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/
>
*
* 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/