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

st: Substituting string values


From   Rodrigo Briceņo <rbriceno@ilapp.org>
To   "Stata" <statalist@hsphsun2.harvard.edu>
Subject   st: Substituting string values
Date   Mon, 4 Nov 2002 10:16:42 -0600

Hello statalisters. I require some help: I'm working with a variable that is
called "servicio". This variable has three values that require some fixing:

1. HOSP.  OBSTETRICIA (two spaces between the words)
2. HOSP.OBSTETRICIA (no space between)
3. OBSTETRICIA C

I require that these three values will be the same, for example
HOSP. OBSTETRICIA (one single space between the two words), how can I
substitute those values?

Thanks.

Rodrigo


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