Hi ____,
Step 1. Review the Statalist FAQ which you are asked to read prior to
submitting a query to the Statalist. In particular, you should pay attention
to advice given regarding how to ask a question that can be answered easily
and usefully; you should also look at the section regarding the use of your
full name when posting.
Step 2. Search the help files/manuals and/or the FAQ archives.
Step 3. If you are still having difficulty with your particular problem, use
the advice you would have read in Step 1 and you'll probably get some great
advice/help.
The problem with your question is there are too many unknowns to yield a
unique answer (or multiple answers that have the same unique solution). Are
these leading zeros only? zeros embedded in a larger string? zeros that
trail some string? Are you trying to get rid of the zeros in a number like
1,000,000 to rescale numeric variables? Are you interested in changing the
values or just changing the display formatting?
HTH,
Billy
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of todd49401
Sent: Saturday, March 16, 2013 1:20 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: Replace 0 with blank
Hi all,
I see that there are a lot of questions regarding replacing blanks with
zeros...I'm actually trying to do the opposite- replace zeroes with blanks.
The variable is called 'ACAP'...if anyone could provide the code it would be
appreciated.
--
View this message in context:
http://statalist.1588530.n2.nabble.com/Replace-0-with-blank-tp7580326.html
Sent from the Statalist mailing list archive at Nabble.com.
*
* 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/
*
* 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/