find from an index : find « String « Python Tutorial






subject = '$$$ Get rich now!!! $$$' 
print subject.find('$$$') 
print subject.find('$$$', 1) # Only supplying the start 
print subject.find('!!!') 
print subject.find('!!!', 0, 16) # Supplying start and end








5.9.find
5.9.1.The find method finds a substring within a larger string.
5.9.2.find from an index
5.9.3.Searching Strings for Substrings