Statalist


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

Re: st: string variable


From   Sue <[email protected]>
To   [email protected]
Subject   Re: st: string variable
Date   Fri, 28 Aug 2009 10:30:38 -0400

This worked, thanks a lot!


On Fri, Aug 28, 2009 at 2:26 AM, Roy Wada<[email protected]> wrote:
>> 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.
>
> It's probably a non-space character. You should copy and paste one
> into the subinstr( ) function.
>
> Roy
>
> _________________________________________________________________
> Get back to school stuff for them and cashback for you.
> http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1
> *
> *   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index