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