check if string contains some substring java code example
Example 1: string contains specific word in java
str_Sample.contains("Example"));
Example 2: string contains specific word in java
public boolean String.contains(CharSequence s);
str_Sample.contains("Example"));
public boolean String.contains(CharSequence s);