how to check if a string contains a subtring 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);