Alan Gauld wrote: > "Terry Carroll" <carroll at tjc.com> wrote > >> if Y in X: > > FWIW I believe that 'in' did only work for single characters up until > version 2.X so your ideas may have been based on experiences with > an earlier Python version. Yes, it changed in Python 2.3. Kent