Hi to all, I was wandering if there is build-in method to search in a string, I'll explain my self:
I have the following string(for example)
this- is; text, example for the forum
I need to search for a certain word(lets say example) and look the closer char(from a list of chars '-' ';' ','), from left to right.
1. After searching I have the index of example 11
2. The second index will be 9 because in the index 9, I have the char ','
My Problem How I can search in a string from right to left(the method indexof search from left to rigth)
My second problem How I can search a group of chars, without using indexof a lot of times.
Thanks for help