FOF30\Platform\Base\Filesystem::stripExt PHP Méthode

stripExt() public méthode

Strips the last extension off of a file name
public stripExt ( string $file ) : string
$file string The file name
Résultat string The file name without the extension
    public function stripExt($file)
    {
        return preg_replace('#\\.[^.]*$#', '', $file);
    }