i haves string such as
andy
**jackie**
rudy
linda
ferry
**jackie**
linda
rudy
ammy
**jackie**
tortia
Is it possible to have it removed everything and get the result only below
**jackie**
tortia
it should be possible with substr
thanks
i haves string such as
andy
**jackie**
rudy
linda
ferry
**jackie**
linda
rudy
ammy
**jackie**
tortia
Is it possible to have it removed everything and get the result only below
**jackie**
tortia
it should be possible with substr
thanks
Yes, you can use substr. But at first you have to find third occurence of jackie. Maybe this function will be helpful https://stackoverflow.com/a/18589825/2701717