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