You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
While Daniel's solution is short and clear, I've had related situations in which manipulating the too-inclusive variable list with various macro functions is useful, such as:
Code:
unab MyVarList: _all
local droplist = "var1 var2 var3"
local MyVarList: list MyVarList - droplist
Comment