I'm making a word processing app, I am using a text area as the area to be typed in and need to make a find button to find the location of a selected word in that text area.
I know I need to use either a while or for loop to cycle through the text to find a word, a .equals to see if it matches to what the user typed in the find word textfield and then the find word button will print the words index in another label.
I have an idea of what I need to do but just need some pointers to get it going