Consider the following code snippet:
String input = \"Print this\"; System.out.println(input.matches(\"\\\\bthis\\\\b\"));
Output
Is your searchString going to be regular expression? if not simply use String.contains(CharSequence s)
searchString