s="CastinTime"
if s.find("Time") != -1:
print "found"
else:
print "not found"
On 3 May 2007 00:35:57 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
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 on
On May 3, 8:35 am, [EMAIL PROTECTED] wrote:
> 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