Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
str.find(sub, start) solution in Speedy category for Second Index by David_Jones
def second_index(text, symbol):
i = text.find(symbol)
if i >= 0:
i = text.find(symbol, i+1)
return i if i > 0 else None
June 17, 2019
Comments: