Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: space trouble in excel to stata conversion


From   "Ashim Kapoor" <ashimkapoor@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: space trouble in excel to stata conversion
Date   Fri, 3 Oct 2008 17:19:29 +0530

Alright. Thank you.

On Fri, Oct 3, 2008 at 5:12 PM, Neil Shephard <nshephard@nhs.net> wrote:
> Neil Shephard wrote:
>> If you've a mixture of the two examples then you can use
>> -trim(subinstr([varname], "  ", " "))- to do both in one step.
>>
>>
> Ooops, -itrim()- is a new function to me that should do the above (I
> thought it was a typo originally as you had first written -trim- and
> then -itrim-).
>
> Neil
>
> --
> "We should make things as simple as possible, but not simpler" - Anon (not Albert Einstein)
>
>
> ***********************************************************************
> This  message  may  contain  confidential and  privileged  information.
> If you  are not the  intended recipient  you should not  disclose, copy
> or distribute information in this e-mail or take any action in reliance
> on its contents.  To do so is strictly  prohibited and may be unlawful.
> Please  inform  the  sender that  this  message has  gone astray before
> deleting it.  Thank you.
>
> 2008 marks the 60th anniversary of the NHS.  It's an opportunity to pay
> tribute to the NHS staff and volunteers who help shape the service, and
> celebrate their achievements.
>
> If you work for the NHS  and  would like  an NHSmail  email account, go
> to: www.connectingforhealth.nhs.uk/nhsmail
> ***********************************************************************
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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