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