Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: String help


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: String help
Date   Wed, 5 Oct 2005 09:57:54 +0100

This won't get one far in solving this problem. 
Nor will -split-. That is no criticism of either,
as each was designed for different problems. 

The problem needs lower-level functions. 

Nick 
n.j.cox@durham.ac.uk 

jkuhl@worldbank.org
 
> Try also the egen-function "ends". Using that you can split a 
> string into parts,
> specifying the partitioner.
                   
>              "Terra Curtis"                                   
> 
> I am dealing with a string variable called 'string' like the 
> example below
> (this is copied from the data browser):

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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