Java | compare char word in a char array -


How do I get a word indicator (shows in a four array) that can be found in the paragraph (again < / P>

  four words [] = new four [] {'w', 'o', 'r' represents the word., 'D'};  

And here is the paragraph

  four mercury [] = new four [] {'f', 'g', 'q', 'jade', 'y', 'i' , 'O', 'p', 'w', 'o', 'r', 'p'};  

In this case I would like to get the first letter index 8 I am

Theoretically a bit disabled, rather practical and simple:

    / Div> 

You want to understand how it works - java.lang.String


Comments