Statalist


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

RE: st: string variable


From   Roy Wada <[email protected]>
To   <[email protected]>
Subject   RE: st: string variable
Date   Thu, 27 Aug 2009 23:26:48 -0700

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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index