How to know if a given string is substring from another string in Java by IT Nursery How to know if a given string is substring from another string in Java