File.contains()

Usage

Source

File.contains(pattern)