 As you can see on the screenshot method indexOf() gets wrong string.