Search a word from string in java
I need a simple java program in which they are two strings taken one as the master string and the other string has the words which will be search from the master string. but this should be done using substring method I also need to find out If a word is been found in the master string then what is it loaction at the character.
Search a word from string in java
===

I need a simple java program in which they are two strings taken one as the master string and the other string has the words which will be search from the master string. but this should be done using substring method I also need to find out If a word is been found in the master string then what is it loaction at the character.