how to find if a word is contained in an String in java code example
Example 1: string contains specific word in java
str_Sample.contains("Example"));
Example 2: check if a string contains a character java
string.indexOf('a')
str_Sample.contains("Example"));
string.indexOf('a')