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

st: Re: breaking strings


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   st: Re: breaking strings
Date   Wed, 28 Sep 2005 17:16:27 -0400

help split

----- Original Message ----- From: "Terra Curtis" <[email protected]>
To: <[email protected]>
Sent: Wednesday, September 28, 2005 5:08 PM
Subject: st: breaking strings



Dear Statalist,

I am trying to find a string function (or equivalent series of code lines)
to accomplish the following. I have a string variable which contains
various company names, eli lilly & co, for example. I want to break this
string into 4 separate data points, namely eli, lilly, &, co. The delimeter
is a space. Anyone know how to do this?

Thanks,
Terra

*
* 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/
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index