check string contains a character 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);