How to read particular value from file?

In reply to dave_59:

Can I somehow search for a particular string in a file?