Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: deleting spaces in a string file


From   Sharooon <treeshar@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: deleting spaces in a string file
Date   Mon, 22 Jun 2009 11:27:40 -0700 (PDT)

I have a string file with entries such as:

" davis"
"davis"
"davis "
" davis "

which stata is recognizing as different values, what I'd like to do is trim the spaces and have them all appear as 

"davis"

How can I do that? 


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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