On Freitag 24 September 2010, Wim Feijen wrote:
> would really like having a string.contains('...') function
> which returns either True or False. I know I can mimick this
> behaviour by saying string.find('...') != -1 , however, I
> find this harder to read.>>> a = 'xy134' >>> '13' in a True >>> '15' in a False >>> -- Wolfgang -- http://mail.python.org/mailman/listinfo/python-list
