Is there an equivalent function of \"%in%\" from R for Stata?
Stata does not offer the same flexible tool, but inlist will cover the basic operation that you might be looking for, as in count if inlist(country,"FR","US","DE").
inlist
count if inlist(country,"FR","US","DE")