Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Need help with string observations


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Need help with string observations
Date   Tue, 26 Feb 2013 18:49:34 +0000

Michael would need to install it first from STB-13....

Nick

On Tue, Feb 26, 2013 at 6:12 PM, Richard Goldstein
<[email protected]> wrote:

> -h extrname-

On 2/26/13 1:08 PM, Michael Stewart wrote:

>> Can you please help me with  String function
>> I have a list of patients and unfortunately some pts have their names
>> recorded  in various formats like  James Edward ; James Edward H;
>> James Edward J   etc
>> Is it possible to write a code where the funcition  removes the last
>> alphabet for the string if it is listed separately like
>>
>>  James Edward H--> James Edward
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index