From | Chris Ruebeck <[email protected]> |
To | [email protected] |
Subject | st: Re: Problem with embedded quotes in strings when using insheet |
Date | Wed, 30 Mar 2005 23:35:31 -0500 |
I write out a portion of the data currently held in memory, including some
string variable values, using -outsheet-. Some of the strings have double
quotes (not always balanced) embedded in them. (I know, I shouldn't have
allowed this in the first place.) When I -outsheet- the data it looks perfectly
fine and I can read it into Excel just fine. Now, I want to append more data to
that file, so I -insheet- the original, append the new data, and -outsheet-
again. When I -insheet- the data, the embedded quotes confuse the heck out of
the -insheet- parser and the data are no longer fine. I can provide details on
what happens, but that isn't really relevant.
* * 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/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |