Versions Compared

Key

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

...

Note

The last occurrence of the empty string "" is considered to occur at the index value str1.length().
If you need to find str2 multiple times , use substring() routine.

See also

...