Statalist


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

Re: st: string variable


From   Sue <likecats@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: string variable
Date   Fri, 28 Aug 2009 10:37:10 -0400

Yes, I have checked and it wasn't that wide of a space.


On Fri, Aug 28, 2009 at 10:32 AM, Nick Cox<n.j.cox@durham.ac.uk> wrote:
> In particular, have you checked whether tabs are involved?
>
> Nick
> n.j.cox@durham.ac.uk
>
> Roy Wada
>
> It's probably a non-space character. You should copy and paste one
> into the subinstr( ) function.
>
>> replace bankname = subinstr(bankname, " ", "", .)
>>
>> which didn't work. I could encode the variable then single out the
>> numeric value of the observations that I want to keep, but I was
>> wondering if there was a non-manual way around this. If anyone has
>> advice on this, I'd appreciate it.
>
>
> *
> *   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/
>

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