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