Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
FOF30
Platform
Base
Filesystem
stripExt
FOF30\Platform\Base\Filesystem::stripExt PHP Method
Filesystem Class Documentation
Show file
Open project: akeeba/fof
stripExt()
public
method
Strips the last extension off of a file name
public
stripExt
(
string
$file
) :
string
$file
string
The file name
return
string
The file name without the extension
public function stripExt($file) { return preg_replace('#\\.[^.]*$#', '', $file); }
Filesystem
__construct
getExt
getFiles
scanDirectory
stripExt