#### 8.2.8 contains ¶

Function: `out =` colvecfun `(str, pattern)` ¶
Function: `out =` colvecfun `(…, `'IgnoreCase'`, IgnoreCase)` ¶

  Test if strings contain a pattern.

  Tests whether the given strings contain the given pattern(s).

  str (char, cellstr, or string) is a list of strings to compare against pattern.

  pattern (char, cellstr, or string) is a list of patterns to match. These are literal plain string patterns, not regex patterns. If more than one pattern is supplied, the return value is true if the string matched any of them.

  Returns a logical array of the same size as the string array represented by str.

  See also: startsWith, endsWith