nushell/docs/commands/dfr_contains.md

333 B

title layout version
dfr contains command 0.59.1

Checks if a pattern is contained in a string

Signature

> dfr contains (pattern)

Parameters

  • pattern: Regex pattern to be searched

Examples

Returns boolean indicating if pattern was found

> [abc acb acb] | dfr to-df | dfr contains ab