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