Add str.find() in example. str.find() won't throw example, while str.index will if can't find the string