Statalist The Stata Listserver


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

st: Re: string management functions


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: Re: string management functions
Date   Thu, 10 May 2007 07:42:12 -0400

sacrificial ram

My earlier posting on this subject demonstrated that:  uniqlist.


Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html


On May 10, 2007, at 2:33 AM, statalist-digest wrote:

2. I asked this before. I have a string variable. One observation is like
"a, b, f, g, b, a, a, f, g, g". How do I create another variable which shows
no repeated values, i.e., "a, b, f, g". The sequence does not matter. Thank
you very much.
*
*   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