Str::endsWith()
Checks if a string ends with the passed needle
Parameters
Name | Type | Default |
---|---|---|
$string * | string |
– |
$needle * | string |
– |
$caseInsensitive | bool |
false |
Return type
bool