Home > Back-end > For help: the key ci to find problems
For help: the key ci to find problems
Time:10-30
Dear bosses, I want to achieve a level of about 200 words in Chinese input string, find the position of a certain keywords appear inside the Such as: input "my Chinese heart" lyrics, find out all the position of the "China" in How to implement? Ask you a labyrinth greatly
CodePudding user response:
See String indexOf usage, StartIndex each time from the last time to find the location of the beginning, until I couldn't find it