Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Rebecca Pope <rebecca.a.pope@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: formatting question |
Date | Fri, 7 Dec 2012 08:27:29 -0600 |
Assuming your variable is "age": *** begin example *** clonevar strage = age /* make copy of string age for checking */ replace age = trim(subinstr(strage,"/","",.)) *** end *** Rebecca On Fri, Dec 7, 2012 at 8:21 AM, <cdenking@bidmc.harvard.edu> wrote: > 72/ / * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/