![6.2.9 Finding Index of a String my code is only checking for the word Karel, and i dont know how can i get it check for the word Hello and CodeHS! And 6.2.9 Finding Index of a String my code is only checking for the word Karel, and i dont know how can i get it check for the word Hello and CodeHS! And](https://i.redd.it/ox1sqbi13xc61.jpg)
6.2.9 Finding Index of a String my code is only checking for the word Karel, and i dont know how can i get it check for the word Hello and CodeHS! And
![Find the character in first string that is present at minimum index in second string - GeeksforGeeks Find the character in first string that is present at minimum index in second string - GeeksforGeeks](https://media.geeksforgeeks.org/wp-content/uploads/20220817124412/124.png)
Find the character in first string that is present at minimum index in second string - GeeksforGeeks
![Manipulating Characters in a String (The Java™ Tutorials > Learning the Java Language > Numbers and Strings) Manipulating Characters in a String (The Java™ Tutorials > Learning the Java Language > Numbers and Strings)](https://docs.oracle.com/javase/tutorial/figures/java/objects-lastIndexOf.gif)