tmhUtilities::endswith
Check if one string ends with another
Signature
public function endswith(string
$haystack,
string
$needle )
Parameters
$haystack
— string- the string to check inside of
$needle
— string- the string to check $haystack ends with
Returns
- true
- if $haystack ends with $needle, false otherwise