Statalist The Stata Listserver


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

st: RE: cut string variables


From   <[email protected]>
To   <[email protected]>
Subject   st: RE: cut string variables
Date   Mon, 22 May 2006 18:32:34 +0100

Try help string functions

Probably the command 'substr' could apply 

Cheers
Justina

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of susanne
neckermann
Sent: 22 May 2006 14:42
To: [email protected]
Subject: st: cut string variables

Hello,
I cannot open a data set in my intercooled Stata version because one of
the variables is a string with 102 characters and intercooled Stata only
allows for 80.
I can open the data set at a friend's computer who has the full version
of stata. But we have not found out, what the command is to cut the
length of this particular string. so that we can change the data set and
I can work with it on my computer.
It would be o.k., if only the first 50 characters or so remain.

Can you help?
Thank you very much.
Greetings from Switzerland,
Susanne


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