Str::contains()
Checks if a str contains another string
Parameters
Name | Type | Default |
---|---|---|
$string * | string |
– |
$needle * | string |
– |
$caseInsensitive | bool |
false |
Return type
bool