str::contains

Checks if a str contains another string

str::contains($str, $needle, $i = true)

Parameters

$str (string)
$needle (string)
$i (boolean)
ignore upper/lowercase

Return values

string