Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Another question regarding string variables


From   Michael Stewart <michaelstewartresearch@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Another question regarding string variables
Date   Tue, 26 Feb 2013 22:54:46 -0500

Hi,

I  am sorry to keep bothering you regarding string variables
I am trying to find if there is a function to split a  string "Howard
James R" --> "Howard"  & ("James R")
If I use Split, I would get Howard, James and R which is not what I want
I want to split the string after the first word  into two string
variables  first variable containing first word and second variable
containing rest of the string

-- 
Thank you ,
Yours Sincerely,
Mike.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index