Statalist


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

RE: st: string variable


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: string variable
Date   Fri, 28 Aug 2009 15:32:58 +0100

In particular, have you checked whether tabs are involved? 

Nick 
[email protected] 

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/



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