ExCellerate.Functions.General.Contains (excellerate v0.4.0)

Copy Markdown View Source

Returns true if a string contains the given substring, false otherwise.

Returns false if either argument is not a string.

Examples

contains('Hello World', 'World')  true
contains('Hello World', 'Foo')    false
contains(123, 'foo')              false