isInfixOf (Data.List)
Substring search.
Syntax
isInfixOf "x" text
Description
isInfixOf tells whether a substring exists within the text (True/False). Imported from Data.List.
Example
Loading editor…
Expected output
True
When to use?
Search, content check.