Kompal Sinha
> > Just Curious: Is there a single command to do the exactly opposite
> > thing:-splitting the string in subparts.
Scott Merryman
> Typing "findit split string" brings up:
>
>
> FAQ . . . . . . . . . . . . . . . . Splitting a string
> variable into parts
> http://www.stata.com/support/faqs/data/splitstr.html
>
> split from http://fmwww.bc.edu/RePEc/bocode/s
> 'SPLIT': modules for splitting string variables into
> parts / split splits
> a string variable into one or more string variables /
> based on one or more
> parse strings, by default blank space(s). It / is thus
> useful for
> separating `words' or parts of a string / variable. /
As Scott pointed out, information is a step away using -findit-.
Briefly, the FAQ explains an approach from first principles,
while -split- (on SSC) is a command available for Stata 7.
In addition, -strparse- (first author Michael Blasnik,
also on SSC) is available for those still using Stata 6.
Nick
[email protected]
*
* 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/