Which method is used to find the index of a specific character or substring within a string?
search()
locate()
indexOf()
findIndex()