I have a `String` like ,

```
 String test = "voiceemailchat";
 String find = "chat";

```

I have to check the new word is already present in the existing word or not.

The condition looks like ,

```
if(test has find)
      //go something
else
      //go somethig

```

Is it possible in java or not ?