Answer:
String word = "George slew the dragon";
int pos = word.indexOf("dr");
String drWord = word.substring(pos, pos+4);
System.out.println(drWord);
Step-by-step explanation:
Assuming dr is always there, we don't have to check the validity of 'pos'. Normally, you would!