Hi all,
I want to get all text in between 2 words wherver it is. For example:
String Testing="one i am here fine two one hope your are also fine two one ok see you two";
From the above string, I want to fetch the words between "one" and "two" in array:
My result should be stored in array like this:
String result[1] = i am here fine
String result[2] = hope your are also fine
String result[3] = ok see you
How to do in java?
Thanks in advance
- Gnaniyar Zubair