Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: keep if string for more variables

From   Nick Bornschein <>
To   "" <>
Subject   st: keep if string for more variables
Date   Tue, 10 Dec 2013 16:31:56 +0100


I have string variables, blue01 to blue10 and yellow01 to yellow10. I want to keep some data by using:

keep if color == "blue*" to keep all blue data, but it does not work. Any idea?

Thanks a lot
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index