Jp Calderone wrote: >> >>> contains = lambda haystack, needle: haystack.find(needle) > 0 > > The above should be >= 0, otherwise the first example below fails. Of course. Thanks for the correction. // Klaus -- ><> unselfish actions pay back better