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

RE: st: String help

From   "Terra Curtis" <>
To   <>
Subject   RE: st: String help
Date   Wed, 5 Oct 2005 11:00:59 -0400

Thanks, Nick.  Your original solution worked perfectly.  And I think you're
right, -end- and -split- are useful, but in other contexts.

-----Original Message-----
[] On Behalf Of Nick Cox
Sent: Wednesday, October 05, 2005 4:58 AM
Subject: RE: st: String help

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. 

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

*   For searches and help try:

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