Ok.....
It is possible... You can use the Matcher and Pattern class....
Those class could point you to the exact nth number of the character on that string you want to have...
Or you could just manipulate it using arrays of character.....
Maybe there is a nice implementation than this....
nth number is your starting point. By having a loop until the end ( The limit of your choice ), you can copy it... and convert it in String again....
Only by having a copy of that nth number, and the last nth number... you can Convert it first into arrays of character... copy those elements from starting point to the end point ( nth numbers ) in a temp char array... and then convert it to String again....
- The baby starts to smoke. As a result, his father jumped twice a day....
you may want to cut the string "As the result, his father jumped twice a day".
Just have the nth number of 'A' in As and the 'y' in day.... ( nth element )....
correct me if im wrong,
sukatoa