Searching for a piece of string

saif.shakeel at gmail.com saif.shakeel at gmail.com
Thu May 3 03:35:57 EDT 2007


Hi,
    How can i match a part of string and branch to some part of code.
Ex If there is a string like "Timeout" and i want to search only
whether the word "Time" is present in it(which is valid in this
case).so if i have "CastinTime",still this should hold.
   I need to use this in a "if" statement and code.Can someone help me
in this.
                           Thanks .




More information about the Python-list mailing list