►
Run
x = 'abcd-abcd-abcd' value = 'cd' result = x.find(value) print("Index :", result)
Output