[Solved] Why is indexOf returning an incorrect index? [closed]

[ad_1]

l2FileNAme: scenario8_items.txt

Counting the characters on the screen, the . is in the 16th place, which is 15 in a zero-based indexing. You’re performing this on l2.

Seems like the correct output to me.

[ad_2]

solved Why is indexOf returning an incorrect index? [closed]