asking

mingqiang hu humingqiang5262131 at gmail.com
Tue Aug 21 22:57:34 EDT 2012


 can I use just one statement to figure out if  substring “a” ,"b" "c" are
in  string "adfbdfc" ?  not use the statement like

("a" in "adfbdfc")  or ( "b" in "adfbdfc") or ("c" in "adfbdfc" ) ,because
if I have lots of substring, this could sucks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120822/ad1cbd1f/attachment.html>


More information about the Python-list mailing list