Question: I want to search a word inside a string :
For example let the String be `"ThisIsFile.java"`
and let i want to search `"File.java"` or `"IsFile"`

This is something like sql `'like'` query but unfortunately i am not 
getting that string from database.

Please suggest me any good solution for this.
Thanks

Answer: 
Try using `String.contains()`. Also, [check out the documentation](http://download.oracle.com/javase/1,5.0/docs/api/java/lang/String.html#contains%28java.lang.CharSequence%29) for more information about the method
You should be able to use 

```
String.contains("some string");

```