In addition, check out -destring-.
This is the same answer really, because
underneath the hood | bonnet, -destring-
is calling -subinstr()- to do the dirty
work.
Nick
[email protected]
Friedrich Huebler
> No need for an ado file. See -help subinstr-.
>
> replace var = subinstr(var,"$","",.)
Raphael Fraser
> > Is there any ado file that can remove the following :
> > "$" , "," and "." from the data set below
> > For e.g.
> >
> > $690.00
> > $1,000.00
> > $1,000.00
> > $7,000.00
*
* 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/