Encuentra en Python

string = "varun"
# arg1 is letter to be searched
# arg2 is starting index
# arg3 is end index
string.find("r", 0, 4) 
# OUTPUT --> 2
Varun Shrivastava