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

st: remove blanks in a string


From   "Oleksandr Shepotylo" <shepotil@econ.umd.edu>
To   "statalist hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: remove blanks in a string
Date   Thu, 8 Apr 2004 11:00:03 -0400

Dear statalist,

Probably very simple question, but I could not find simple solution:

    I need to remove blanks in strings of the folloving structure:
"xxxxxxxxx x",  where x is a simbol. It might be helpful to mention that
simbols are actually numbers.
    I tried to do it in Excel that is supposed to be very simple, but it
deletes zeroes in the beginning or end of the strings even though I
mentioned that they should be treated as text.

Oleksandr.

*
*   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