Solution

The varlist

x? x??

will select all variables that start with x and then contain either one or two additional characters. x1 through x20 fit this pattern but xenophobia does not.

Last Revised: 10/30/2009