Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

indexOf("Space1, Space2 and Space3", "e")

Returns 5, which is the first occurrence of "e". It does not return subsequent occurrences at positions 13 and 24.

...