Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

java string question?

so say i have a string "mississippi"

and i have another string "ssissi"

how would you go about finding the starting and ending indices of ssissi in mississippi

as in, ssissi appears in mississippi at an index of 2 and ends at the index of 7

i need those two numbers!

ideas?

thanks!!!

Update:

nevermind i got it!

best answer goes to whoever tells me the best joke

There are no answers yet.
Be the first to answer this question.