why python find not working
- by user283405
i am using python 2.5.2. The following code not working.
def (self, text, findText):
index = text.find(findText)
print index
Although the findText is present in text, but it still returns None.
I have printed the values of text and findText and they are present.