String Contains Java

Hi,

I have a text box that contains a lot of text but I am only interested in a certain bit of the text. I am unsure how to do this. I have found a method called ‘StringContains();’ but unsure how to use it.

Does anyone know how I can achieve this?

Thanks