Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Removing commas & periods from numbers


From   Raphael Fraser <[email protected]>
To   [email protected]
Subject   Re: st: Re: Removing commas & periods from numbers
Date   Tue, 24 Jan 2006 15:01:20 -0500

Thanks

On 1/24/06, Friedrich Huebler <[email protected]> wrote:
> Raphael,
>
> No need for an ado file. See -help subinstr-.
>
> replace var = subinstr(var,"$","",.)
>
> Friedrich Huebler
>
> --- Raphael Fraser <[email protected]> wrote:
> > 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
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> *
> *   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index