Statalist The Stata Listserver


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

Re: st: trim spaces in postcode


From   Ronnie Babigumira <[email protected]>
To   [email protected]
Subject   Re: st: trim spaces in postcode
Date   Sat, 01 Apr 2006 22:17:33 +0200

Thanks
Yes I have used and continue to use -insheet- (mainly if I have tab delimited data from excel) and specifying the string length is not a problem with -insheet-. That said, there are situations where -infile- is the appropriate command and of course -input- is invaluable when I want to input a few entries. In this case I have to specify the length of string variables

Ada Ma wrote:

have you tried -insheet-??

<snip>
Is there something in newer versions of Stata that would save me from
guessing the length of strings when using -infile-
and -input-
</snip>

*
*   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/

*
*   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