Statalist


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

st: deleting spaces in a string file


From   Sharooon <[email protected]>
To   [email protected]
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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index