Sion Arrowsmith wrote: > Unfortunately: > >>> print 'a'+'bc' |ips| 'abc' > True > > Which might not be what you want. On the other hand, it's a simple > fix: > >>> ips = Infix(lambda a, b: (a != b) and (a in b)) > >>> print 'a'+'bc' |ips| 'abc' Ah, good point. Graham