Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: maximum number of characters in string variables


From   wgould@stata.com (William Gould)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: maximum number of characters in string variables
Date   Mon, 12 Aug 2002 09:20:16 -0500

Artyom Durnev <adurnev@bus.umich.edu> asked, 

> I need to download a string variable which is 120 characters long. STATA
> only allows me to have 80 characters. The rest of the characters get
> truncated. Is it possible to download really long strings?

You have two choices.  The first is to live with the 80-character limit 
and to read the 120 character string into two variables.  The other is 
to upgrade to Stata/SE, which allows string variables to be up to 244 
characters long.

-- Bill
wgould@stata.com
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index