index(sub[, start[, end]])

Like str.find, but raise ValueError when the substring is not found.