rindex(sub[, start[, end]])
Like str.rfind but raises ValueError when the substring sub is not found.