File.hasEndPath
File.hasEndPath($fullPath, $endPath) -> boolean
Description
Return true
if $fullPath
ends with $endPath
.
$fullPath = '/users/theo123/profile/image.png' File.hasEndPath($fullPath, '/profile/image.png') //= true
Return true
if $fullPath
ends with $endPath
.
$fullPath = '/users/theo123/profile/image.png' File.hasEndPath($fullPath, '/profile/image.png') //= true