Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Second Index by maggalus
def second_index(text: str, symbol: str):
if text.count(symbol)<=1: return None
else: return (text.replace(symbol,"_",1).index(symbol))
Nov. 4, 2019