Statalist


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

st: Getting rid of line-breaks in Data


From   Elmar Saathoff <elmarsaathoff@gmx.net>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>, "Elmar Saathoff (GMX)" <elmarsaathoff@gmx.net>
Subject   st: Getting rid of line-breaks in Data
Date   Thu, 18 Jun 2009 09:28:00 +0200

Dear list members,

I am frequently using data that were imported from PDAs via MsAccess. In some cases these data contain some little squares that do not seem to do much harm in Stata, but that other applications interpret as linebreaks/carriage returns/paragraph marks, which is quite a hassle. It seems that these things are inadvertently entered into the PDAs by the people collecting the data. Unfortunately I cannot show them in this email, because my email client also interprets them as carriage returns. Anyway, I have been trying to identify and get rid of these things by programming (using "subinstr", "egen...split" etc.), but unfortunately, whatever I do, Stata also interprets them as carriage returns, both in do files and in the command window, even if I change the delimiter to ";" via the delimit command.

Any advice would be greatly appreciated.

Thanks in advance, Elmar
*
*   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