java check if string does not contains words code example
Example 1: string contains specific word in java
str_Sample.contains("Example"));
Example 2: java if string contains character
if (string.contains(character)
str_Sample.contains("Example"));
if (string.contains(character)