I read the below code about string extraction in python
text[text.find("insert"):(len(text),text.find("Configure"))[text.find("Configure")>1]]
and I am not able to understand this part
(len(text),text.find("Configure"))[text.find("Configure")>1]
How does this work? Can some one help me?