I have looked around for another answer on here, but i didn't really understand how to convert it to my own code. 
I am trying to find where "COUNTRY" is found in a phrase so:

```
String word = "COUNTRY";
String sentence = "ASK NOT WHAT YOUR COUNTRY CAN DO FOR YOU ASK WHAT YOU CAN DO FOR YOU COUNTRY";

```

It should output that the word is in the 5th and 17th positions. 

Many Thanks 

EDIT: I realised that it also need to ignore the case. Sorry for not saying this sooner