Skip to content

StringContainsQ

Tests whether a substring occurs in a string.

$ wo 'StringContainsQ["Hello world", "world"]'
True
$ wo 'StringContainsQ["Hello world", "planet"]'
False